[postgis-users] How detect an empty geometry in a Collection.

Andrea Peri aperi2007 at gmail.com
Sun Dec 12 11:18:57 PST 2010


>I don't know how to detect if the first or the second element are "geometry
>empty".

Resolved.

I can use the
ST_IsEmpty(ST_GeometryN(geom, 1))
ST_IsEmpty(ST_GeometryN(geom, 2))

to test the first and the second element of geom-collection.

-
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20101212/9234f766/attachment.html>


More information about the postgis-users mailing list