[postgis-tickets] [PostGIS] #3838: topology.toTopoGeom fails with ERROR: XX000: SQL/MM Spatial exception - geometry crosses, when using tolerance 10 meter

PostGIS trac at osgeo.org
Tue Oct 10 03:03:02 PDT 2017


#3838: topology.toTopoGeom fails with ERROR:  XX000: SQL/MM Spatial exception -
geometry crosses,  when using tolerance 10 meter
-------------------------+-------------------------------------------------
  Reporter:  laopsahl    |      Owner:  strk
      Type:  defect      |     Status:  assigned
  Priority:  medium      |  Milestone:  PostGIS 2.3.4
 Component:  topology    |    Version:  2.3.x
Resolution:              |   Keywords:  totopogeom, ERROR:  XX000: SQL/MM
                         |  Spatial exception - geometry crosses
-------------------------+-------------------------------------------------

Comment (by strk):

 Further simplified version of testcase:
 {{{
 select topology.droptopology('bug3838');
 select CreateTopology('bug3838');

 select TopoGeo_addLinestring('bug3838',
 'LINESTRING(622617.12 6554996.14,
 622612.06 6554996.7, 622609.17 6554995.51,
 622606.83 6554996.14, 622598.73 6554996.23,
 622591.53 6554995.96)'
 , 1);

 select topology.TopoGeo_addLinestring('bug3838',
 'LINESTRING(622608 6554988, 622596 6554984)'
 , 10);

 }}}

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