[postgis-users] Problem cleaning invalid geometries

L Bogert-OBrien dlawbob at ncf.ca
Thu Aug 19 15:01:26 PDT 2010


Just an update to let list users know that the call to cleangeometry()
did return after a very long time--almost 17 hours for one of my files
and more than a day for another.

Regards,

Loretta
-------------- next part --------------
>I am not sure what you are trying to say with this, but the geometry
>that I am trying to clean is a multipolygon, not a collection.  Yes, it
>is very big and has many points in the multipolygon, since it is the
>Baffin region, but it is not a collection.  ST_geometrytype returns
>multipolygon for it.

There are many possibly kind of invalidity.

If the invalidity is a self-intersect,
of course the ST_MakeValid() could split the polygon on the self-intersect
and produce another multipolygon with one more part.

But if , for example, you multipolygon is invalid because it has a hole of
type Linestring, or because it has two part that are touching along a line.

More probably the st_makevalid could be return a geometrycollection().



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty ?????o
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100819/099a9eb2/attachment.html>
-------------- next part --------------
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


More information about the postgis-users mailing list