[PostGIS] #6034: Missing node when adding overlapping line

PostGIS trac at osgeo.org
Mon Jan 26 11:20:23 PST 2026


#6034: Missing node when adding overlapping line
--------------------------------+-------------------
  Reporter:  Lars Aksel Opsahl  |      Owner:  strk
      Type:  defect             |     Status:  new
  Priority:  medium             |  Milestone:
 Component:  topology           |    Version:  3.6.x
Resolution:                     |   Keywords:
--------------------------------+-------------------
Comment (by strk):

 It's interesting to note that calling TopoGeo_addPoint with that close-by
 vertex does already implement the edge-snapping and merge:

 > select TopoGeo_addPoint('t6034', ( select ST_PointN(geom, 2) from
 t6034.edge_data where edge_id = 2 ) );

 So another implementation could be to inspect all vertices of the newly
 added edges and create a node there if they are within tolerance from
 edges NOT having them as vertices.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6034#comment:12>
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