[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 20:55:34 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 Lars Aksel Opsahl):
Replying to [comment:32 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:
>
Nice, tested now your branch mindistance-no-construct-point and confirms
that test /topology_test_01.sql works with no errors running on
{{{
POSTGIS="3.6.0dev 3.5.0-9-g181859475" [EXTENSION] PGSQL="160"
GEOS="3.13.0-CAPI-1.19.0" PROJ="8.2.1 NETWORK_ENABLED=OFF
URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/tmp/proj
DATABASE_PATH=/usr/share/proj/proj.db" (compiled against PROJ 8.13.0)
LIBXML="2.9.13" LIBJSON="0.13.1" LIBPROTOBUF="1.3.3" WAGYU="0.5.0
(Internal)" TOPOLOGY
}}}
For test topology_test_02.sql https://gitlab.com/nibioopensource/resolve-
overlap-and-gap/-/blob/84-error-xx000-corrupted-topology-adjacent-
edges-33-and-32-bind-different-
face-1-and-0/src/test/sql/regress/topology_test_02.sql?ref_type=heads I
get this error in the same database as above .
The error I get is
{{{
ERROR: XX000: Side-location conflict: new edge starts in face 37 and ends
in face 10
}}}
Is that expected ?
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5782#comment:33>
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