[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 02:01:52 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
-------------------------+-------------------------------------------------
Changes (by strk):

 * status:  new => assigned


Comment:

 #1641 was about not tolerating drifts, this one seems to be the contrary:
 snapping too much.

 I can reproduce with:
 > POSTGIS="2.5.0dev r15937" [EXTENSION] PGSQL="96" GEOS="3.7.0dev-
 CAPI-1.11.0 6daf6f83" PROJ="Rel. 4.9.3, 15 August 2016" GDAL="GDAL
 2.3.0dev, released 2017/99/99" LIBXML="2.9.4" LIBJSON="0.12.1"
 LIBPROTOBUF="1.2.1" TOPOLOGY RASTER

 Interesting enough, using tolerance 10 in the first call makes it pass,
 reinforcing my belief that a fixed grid works better than a moving one...

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