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

PostGIS trac at osgeo.org
Mon Jan 26 11:32:19 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):

 Simplified test, with less vertices:

 {{{
 SELECT topology.CreateTopology ('t6034', 0 , 1e-06);

 -- Add edge 1
 SELECT *  FROM topology.TopoGeo_addLinestring('t6034',
 'LINESTRING(15.030538394371618 67.34781748364921,15.026524176871614
 67.34727999614921,15.030014036871616 67.3471448261492,15.031642706871615
 67.34714451614921)'
 );

 -- Add edge 2
 SELECT *  FROM topology.TopoGeo_addLinestring('t6034',
 'LINESTRING(15.031642706871615 67.34714451614921,15.030538394371618
 67.34714472634334,15.030538394371618 67.34781748364921)'
 );

 -- This would "snap" edge 1
 --select TopoGeo_addPoint('t6034', ( select ST_PointN(geom, 2) from
 t6034.edge_data where edge_id = 2 ) );

 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6034#comment:13>
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