[PostGIS] #5792: TopoGeo_addPoint silently corrupts topology

PostGIS trac at osgeo.org
Wed Oct 30 01:58:41 PDT 2024


#5792: TopoGeo_addPoint silently corrupts topology
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  reopened
  Priority:  high      |  Milestone:  PostGIS 3.5.1
 Component:  topology  |    Version:  3.5.x
Resolution:            |   Keywords:
-----------------------+---------------------------
Comment (by strk):

 I was wrong, I DO get the failures with GEOS-3.8.4 too:
 {{{
  topology/test/regress/topogeo_addpoint_merge_edges .. failed (diff
 expected obtained: /tmp/pgis_reg/test_1_diff)
 -----------------------------------------------------------------------------
 --- topology/test/regress/topogeo_addpoint_merge_edges_expected 2024-10-29
 10:58:55.965585948 +0100
 +++ /tmp/pgis_reg/test_1_out    2024-10-30 09:56:59.595821417 +0100
 @@ -1,21 +1,21 @@
 -sn.CW-back-merge|-checking-
 -sn.CW-back-merge.ep-edges|-checking-
 -sn.CW-back-merge.ep-edges-back|-checking-
 +ERROR:  snapping edge 3 to new node moves it past edge 2
 +ERROR:  snapping edge 3 to new node moves it past edge 2
 +ERROR:  snapping edge 3 to new node moves it past edge 2
  sn.CCW-back-merge|-checking-
  sn.CCW-back-merge.ep-edges|-checking-
  sn.CCW-back-merge.ep-edges-back|-checking-
 -sn.CW-forw-merge|-checking-
 -sn.CW-forw-merge.ep-edges|-checking-
 -sn.CW-forw-merge.ep-edges-back|-checking-
 +ERROR:  snapping edge 3 to new node moves it past edge 4
 +ERROR:  snapping edge 3 to new node moves it past edge 6
 +ERROR:  snapping edge 3 to new node moves it past edge 6
  sn.CCW-forw-merge|-checking-
  sn.CCW-forw-merge.ep-edges|-checking-
  sn.CCW-forw-merge.ep-edges-back|-checking-
 -en.CW-back-merge|-checking-
 -en.CW-back-merge.ep-edges|-checking-
 -en.CW-back-merge.ep-edges-back|-checking-
 -en.CW-forw-merge|-checking-
 -en.CW-forw-merge.ep-edges|-checking-
 -en.CW-forw-merge.ep-edges-back|-checking-
 +ERROR:  snapping edge 3 to new node moves it past edge 4
 +ERROR:  snapping edge 3 to new node moves it past edge 6
 +ERROR:  snapping edge 3 to new node moves it past edge 6
 +ERROR:  snapping edge 3 to new node moves it past edge 2
 +ERROR:  snapping edge 3 to new node moves it past edge 2
 +ERROR:  snapping edge 3 to new node moves it past edge 2
  snap-CW|-checking-
  snap-CW-newface-sp|-checking-
  snap-CW-newface-ep|-checking-
 -----------------------------------------------------------------------------
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5792#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