[PostGIS] #5782: TopoGeo_addLinestring corrups topology: adjacent edges 33 and -32 bind different face (1 and 0)

PostGIS trac at osgeo.org
Mon Sep 30 07:46:39 PDT 2024


#5782: TopoGeo_addLinestring corrups topology: adjacent edges 33 and -32 bind
different face (1 and 0)
--------------------------------+---------------------------
  Reporter:  Lars Aksel Opsahl  |      Owner:  strk
      Type:  defect             |     Status:  new
  Priority:  high               |  Milestone:  PostGIS 3.4.4
 Component:  topology           |    Version:
Resolution:                     |   Keywords:
--------------------------------+---------------------------
Comment (by strk):

 I confirm PostGIS minimum distance calculation is currently constructing
 the closest point first and then computing the distance from that point,
 which is what is causing this robustness issue. PR
 https://git.osgeo.org/gitea/postgis/postgis/pulls/222 is changing that and
 fixes the issue at hand, giving the same answers as GEOS:

 {{{
 PostGIS:
  A-Q: 9.716835623058815e-05
  B-Q: 9.716835623082795e-05
 SFCGAL:
  A-Q: 9.716835622921602e-05
  B-Q: 9.716835623197789e-05
 GEOS:
  A-Q: 9.7168356230588148e-05
  B-Q: 9.7168356230827946e-05
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5782#comment:32>
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