[postgis-users] How to trim a GeometryCollection to get aMultiPolygon?

postgis.domain.thewild at spamgourmet.com postgis.domain.thewild at spamgourmet.com
Tue Aug 5 05:39:04 PDT 2008


Obe Regina - robe.dnd at cityofboston.gov a écrit :
>  WHERE ST_GeometryType(foo.the_geom) ILIKE '%polygon%'

Would it be enough to check the dimension of the geomtry in that case ?
(i.e. ST_Dimension(foo.the_geom) = 2)

And, more important, do you think it be faster than checking its type 
against a string ?



Regards
--
Arnaud



More information about the postgis-users mailing list