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

PostGIS trac at osgeo.org
Tue Sep 24 02:58:32 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.5.0
 Component:  topology           |    Version:
Resolution:                     |   Keywords:
--------------------------------+---------------------------
Comment (by strk):

 For the record: adding ONLY the point:

 > select topogeo_addPoint('t5782', 'POINT(18.006691126034692
 69.04048768506776)');

 Sets `containing_face` of that point to 1, which is wrong, but
 ValidateTopology will not notice because it will use the same algorithm
 used during insertion to verify the face containing the point, so will
 find again edge 3 being the closest edge it and thus consider the
 containment valid. Maybe ValidateTopology should use a different method to
 verify containment...
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5782#comment:12>
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