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

PostGIS trac at osgeo.org
Wed Nov 1 02:06:44 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):

 Knut a co worker of mee commented that the first line in the example above
 has a spike. Postgis says the line is valid and simple .

 If I remove the spike the code works ok in Postgis Topology.
 {{{
 select CreateTopology('test_snapto');
 select TopoGeo_addLinestring('test_snapto','LINESTRING(609285.46
 6549990.58,609281.0371 6549986.79,609277.63 6549983.87)',0);
 select TopoGeo_addLinestring('test_snapto','LINESTRING(609281.0371
 6549986.79,609292 6549984)',2);
 }}}

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