[postgis-devel] Difference between ST_CollectionExtract and ST_Dimension

Andrea Peri 2007 aperi2007 at gmail.com
Thu Sep 23 11:25:51 PDT 2010


  Hi,

I notice the ST_Dimension() return
0 = Point
1 = Line
2 = Polygon

instead

ST_CollectionExtract() use
1 = Point
2 = Line
3 = Polygon

Perhaps this is a unwanted difference ?

Regards,

Andrea Peri.





More information about the postgis-devel mailing list