[postgis-tickets] [PostGIS] #3914: ERROR: XX000: SQL/MM Spatial exception - geometry crosses edge 3051
PostGIS
trac at osgeo.org
Tue Oct 31 05:02:54 PDT 2017
#3914: ERROR: XX000: SQL/MM Spatial exception - geometry crosses edge 3051
-----------------------+---------------------
Reporter: laopsahl | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone:
Component: postgis | Version: trunk
Resolution: | Keywords:
-----------------------+---------------------
Comment (by laopsahl):
Why is this code working ok ?
{{{
select DropTopology('test_snapto');
select CreateTopology('test_snapto');
select TopoGeo_addLinestring('test_snapto','LINESTRING(609285.46
6549990.58,609277.63 6549983.87)',0);
SELECT ST_Length(geom) from test_snapto.edge_data;
select TopoGeo_addLinestring('test_snapto','LINESTRING(609281.0371
6549986.79,609292 6549984)',2);
}}}
And not this, where i add a new linstrings and then removes it, before
adding the last line string ?
{{{
select DropTopology('test_snapto');
select CreateTopology('test_snapto');
select TopoGeo_addLinestring('test_snapto','LINESTRING(609285.46
6549990.58,609277.63 6549983.87)',0);
select TopoGeo_addLinestring('test_snapto','LINESTRING(609277.63
6549983.87,609281.0371 6549986.79)',0);
SELECT ST_Length(geom) from test_snapto.edge_data;
select ST_RemEdgeModFace('test_snapto', 2);
SELECT ST_Length(geom) from test_snapto.edge_data;
select TopoGeo_addLinestring('test_snapto','LINESTRING(609281.0371
6549986.79,609292 6549984)',2);
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3914#comment:4>
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