[PostGIS] #5782: XX000: Corrupted topology: adjacent edges 33 and -32 bind different face (1 and 0)
PostGIS
trac at osgeo.org
Tue Sep 24 01:00:37 PDT 2024
#5782: XX000: Corrupted topology: adjacent edges 33 and -32 bind different face (1
and 0)
--------------------------------+---------------------------
Reporter: Lars Aksel Opsahl | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: PostGIS 3.5.0
Component: postgis | Version:
Resolution: | Keywords:
--------------------------------+---------------------------
Comment (by strk):
Simplified testcases:
{{{
select topology.DropTopology ('t5782');
select topology.CreateTopology ('t5782');
SELECT NULL FROM topology.TopoGeo_addLinestring('t5782',
'LINESTRING(
18.006852310996862 69.0403992633497,
18.00677727099686 69.0404005833497,
18.006780950996863 69.04042744334969,
18.00678831099686 69.0404811833497,
18.00686335099686 69.04047986334969,
18.006864423681307 69.04048768506776)'
);
SELECT NULL FROM topology.TopoGeo_addLinestring('t5782',
'LINESTRING(18.006864423681307 69.04048768506776,
18.00686335099686 69.04047986334969,
18.00678831099686 69.0404811833497,
18.00678463099686 69.0404543133497,
18.00677727099686 69.0404005833497,
18.006852310996862 69.0403992633497,
18.00684863099686 69.04037239334968,
18.00737395099686 69.04036317334969,
18.00737333099686 69.0403586833497)'
);
SELECT * FROM topology.ValidateTopology('t5782');
BEGIN;
-- Breaks validity
SELECT NULL FROM topology.TopoGeo_addLinestring('t5782',
'LINESTRING(18.00737333099686 69.0403586833497,
18.00721192099686 69.0403628733497,
18.00705714099686 69.0403605633497,
18.00689347099686 69.0403665833497,
18.00667774099686 69.0403714433497,
18.00653346099686 69.04039085334969,
18.00647305099686 69.0403818633497,
18.00657415099686 69.0404371833497,
18.00668981099686 69.04048704334969,
18.006691126034692 69.04048768506776)'
);
SELECT * FROM topology.ValidateTopology('t5782');
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5782#comment:6>
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