[postgis-tickets] [PostGIS] #5110: TopoGeo_addLineString with existing edge splits the edge in 3 parts

PostGIS trac at osgeo.org
Thu Mar 3 04:47:01 PST 2022


#5110: TopoGeo_addLineString with existing edge splits the edge in 3 parts
----------------------+---------------------------
 Reporter:  strk      |      Owner:  strk
     Type:  defect    |     Status:  new
 Priority:  medium    |  Milestone:  PostGIS 3.3.0
Component:  topology  |    Version:  3.2.x
 Keywords:            |
----------------------+---------------------------
 Playing with a topology I was surprised to see TopoGeo_addLineString()
 adding an *existing* edge to the topology end up splitting the incoming
 edge into 3 parts and returning those 3 edges as a result.

 The existing edge has only 2 vertices, and the closest edge from it
 (beside the ones connected to its endpoints) is at 0.0004 map units
 (degrees).

 The TopoGeo_addLineString() function is being called with no tolerance
 value and the topology tolerance is 1e-10 so snapping should theoretically
 NOT occur.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5110>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list