[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:53:33 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):
This query confirms edge 3 is found closer than edge 4:
{{{
=# select edge_id, st_distance(geom, 'POINT(18.006691126034692
69.04048768506776)') from t5782.edge order by geom <->
'POINT(18.006691126034692 69.04048768506776)' limit 3;
edge_id | st_distance
---------+-----------------------
3 | 9.716835623092273e-05
4 | 9.716835623285099e-05
2 | 9.740220330897892e-05
(3 rows)
}}}
We don't even get an equidistance. On the other hand order by angle around
nodes confirms edge 4 is on the left of edge 3. Puzzling.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5782#comment:11>
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