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

PostGIS trac at osgeo.org
Sun Jun 28 07:01:16 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:
--------------------------------+--------------------
Comment (by Lars Aksel Opsahl):

 The result is wrong and it snaps to the wrong node as we see in
 https://trac.osgeo.org/postgis/attachment/ticket/6089/p3.png


 I also tested the last line with adding more points before adding it to
 Postgis Topology like this did not help.


 {{{
 select
 ST_Segmentize('0102000020A210000002000000C01856A5171528406C5803DF1D71504064BFAEFB153728406C5803DF1D715040'::geometry,
 0.001);

 select
 ST_Segmentize('0102000020A210000002000000C01856A5171528406C5803DF1D71504064BFAEFB153728406C5803DF1D715040'::geometry,
 0.00001);

 }}}


 This is tested on
 {{{
  POSTGIS="3.7.0dev 3.6.0rc2-473-g260127869" [EXTENSION] PGSQL="160"
 GEOS="3.14.1-CAPI-1.20.5" PROJ="9.8.1 NETWORK_ENABLED=OFF
 URL_ENDPOINT=https://cdn.proj.org
 USER_WRITABLE_DIRECTORY=/Users/lop/Library/Application Support/proj
 DATABASE_PATH=/opt/homebrew/Cellar/proj/9.8.1/share/proj/proj.db"
 (compiled against PROJ 9.8.1) LIBXML="2.9.13" LIBJSON="0.18"
 LIBPROTOBUF="1.5.2" WAGYU="0.5.0 (Internal)" TOPOLOGY
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6089#comment:2>
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