[postgis-devel] ST_CollectionExtract with empy collection

Andrea Peri aperi2007 at gmail.com
Wed Feb 16 08:55:58 PST 2011


Hi,

I notice this
query
SELECT ST_AsText(ST_CollectionExtract(ST_GeomFromText('GEOMETRYCOLLECTION
EMPTY'),2));

return
GEOMETRYCOLLECTION EMPTY

I don't know if it is a bug or a wanted feature

But I see this like a problem because I have to populate a table of
MultiLinestring , and use
ST_CollectionExtract to retrieve the multilinestrings.

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


More information about the postgis-devel mailing list