[postgis-devel] ERROR: SQL/MM Spatial exception - geometry crosses an edge

Sandro Santilli strk at keybit.net
Thu Mar 1 02:01:56 PST 2012


On Thu, Mar 01, 2012 at 10:27:29AM +0100, Salvatore Larosa wrote:
> >Ticket, with smallest data. 2 lines of 2 vertexes each.
> >See the testcases I've added when fixing the previous two bugs.
> 
> I do not understand!
> I open a ticket, without reference to my data.?

Open it with reference to your data.
The more you can reduce your data, the better.
You could start by cutting out portions of your data
which are outside the extent of the last geometry being
inserted (and raising the exception).

Oh, let us also know if passing a tolerance to toTopoGeom
fixes your case (it's an additional parameter).
I still think we need to support the zero-tolerance case.

--strk; 

  ,------o-. 
  |   __/  |    Delivering high quality PostGIS 2.0 !
  |  / 2.0 |    http://strk.keybit.net - http://vizzuality.com
  `-o------'




More information about the postgis-devel mailing list