Opened 7 years ago
Closed 7 years ago
#4034 closed defect (invalid)
Additional splitting self-intersected lines
Reported by: | jendrusk | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.4.4 |
Component: | postgis | Version: | 2.4.x |
Keywords: | Cc: |
Description
I'm not sure if it's a bug, but when I try to st_difference self intersected line I'm getting line additionally divided also in a point of self-intersection.
Example:
select ST_AsText(ST_difference(aa.geom, ST_Buffer(ST_MakePoint(-79.3226028055573, 43.7717938393679),0.00001))) from (select ST_GeomFromText('LINESTRING(-79.32193761772157 43.77267702526523,-79.32157820171358 43.7718287022164,-79.3214011759186 43.77199526887857,-79.32260280555727 43.771793839367916,-79.32308023876192 43.771685377042715,-79.32367568916322 43.77158853551472)') as geom) as aa
Note:
See TracTickets
for help on using tickets.
This is expected behavior.
If you are trying to use simple features to store a path (ie 2.5D, not 2D, data), please use higher dimensions to store node order or timing to reconstruct it after feeding into an overlay functions such as Intersects or Difference.