[geos-devel] TopologyException makes GEOS/JTS very difficult to employ in my production environments...

Maxime van Noppen maxime at altribe.org
Wed Sep 29 11:49:27 EDT 2010


On 09/29/2010 05:37 PM, G. Allegri wrote:
> me too :) It doesn't work in all the cases I have, but it works many
> times. This time it seems the doing a ST_Union (unary union) on the
> multipolygons before doing ST_Difference solves the issue. Probably
> the union resolves the noding problems, but what I fear is that it
> works for this specific data set, then it will fail when some other
> corner cases come out...
> Thanks for sharing anyway!

As I understood from the other posts, you might have invalid geometries.
That's my top-priority check. Before and after any operation I check
that all my geometries are valid, and if not I try to trace back to the
origin the faulty geometry to correct it.

-- 
Maxime


More information about the geos-devel mailing list