[postgis-users] geom error

Markus Schaber schabi at logix-tt.com
Thu Oct 5 03:43:02 PDT 2006


Hi, Jean,

Jean Christophe MAUREL wrote:

> i have a problem when i calculate an intersection of 2 tables filled by
> polygons.
> 
> If i have a polygon witch have at least 2 identical points (with the
> sames X and Y) i have a crach!

Does isvalid(geom) say 't'rue or 'f'alse?

Which kind of crash do you have? An error message, or a backend crash /
connection restart? The latter one should probably be fixed in GEOS, I
think.

> anybody knows a solution to destroy duplicated points in a polygon table?

You can try to simplify() them with a distance of 0 (or an extremely
small value, smaler than the smallest distande between two vertices).

HTH,
Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org



More information about the postgis-users mailing list