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

PostGIS trac at osgeo.org
Wed Jan 28 00:37:39 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 Lars Aksel Opsahl):

 Replying to [comment:12 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.

 I like this solution because this should mostly affect corner cases like
 this one.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6034#comment:16>
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