[PostGIS] #6089: wrong node used when adding a new long line

PostGIS trac at osgeo.org
Wed Jul 1 00:05:08 PDT 2026


#6089: wrong node used when adding a new long line
--------------------------------+--------------------
  Reporter:  Lars Aksel Opsahl  |      Owner:  strk
      Type:  defect             |     Status:  new
  Priority:  medium             |  Milestone:
 Component:  topology           |    Version:  master
Resolution:                     |   Keywords:  snap
--------------------------------+--------------------
Comment (by Lars Aksel Opsahl):

 Not sure I follow you here. Before adding line we have two nodes the upper
 and lower. I assume that node closest to incoming line should be used (the
 upper node). What happens is that lower node is used i my testcase.

 I also assume in this case the result should be equal when I run tolerance
 -1 or 1e-07 , related what nodes that are selected in this case. Running
 with -1 it snaps to upper node and not the lower node as when using 1e-07.

 The problem is not invalid topology, but that result i sliver topology
 that I have to remove later again.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6089#comment:8>
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