>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 àèìòù
-----------------
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to