[postgis-tickets] [PostGIS] #3914: ERROR: XX000: SQL/MM Spatial exception - geometry crosses edge 3051

PostGIS trac at osgeo.org
Tue Oct 31 10:57:33 PDT 2017


#3914: ERROR:  XX000: SQL/MM Spatial exception - geometry crosses edge 3051
-----------------------+---------------------------
  Reporter:  laopsahl  |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 2.4.2
 Component:  topology  |    Version:  trunk
Resolution:            |   Keywords:
-----------------------+---------------------------

Comment (by laopsahl):

 Thanks thats correct, when I added ST_RemoveIsoNode('test_snapto', 3),
 then the code worked ok.

 Is that a bug in ST_RemEdgeNewFace or is it suppose to be done by the code
 calling is ST_RemEdgeNewFace as below ?

 {{{
 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_RemEdgeNewFace('test_snapto', 2);
 select ST_RemoveIsoNode('test_snapto', 3);
 select TopoGeo_addLinestring('test_snapto','LINESTRING(609281.0371
 6549986.79,609292 6549984)',2);
 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3914#comment:7>
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