Obe Regina - [EMAIL PROTECTED] 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
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to