[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
Mon Oct 16 23:40:39 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):

 We're effectively having a kind of a bogus call, in that a tolerance of 10
 units is requested while there are geometries entered that have vertices
 closer than 10 units between themselves, which make the requested
 precision NOT respected. I'm thinking what we could do here is either
 raise an error mentioning that the present topology has a denser grid or
 we could lower the tolerance ourselves internally upon hitting a
 robustness issue (excessive snapping?)

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