ST_Dimension
Signature
Description
Return the dimension of geom
:
- 0 for
POINT
s - 1 for
LINESTRING
s - 2 for
POLYGON
s - The largest dimension of the components of a
GEOMETRYCOLLECTION
Return the dimension of geom
:
POINT
sLINESTRING
sPOLYGON
sGEOMETRYCOLLECTION