ST_NDims — 返回几何图形的坐标尺寸。
integer
ST_NDims
(
geometry
g1
)
;
返回几何图形的坐标尺寸。PostGIS支持2-(x,y)、3-(x,y,z)或2D测量-x,y,m和4-3D测量空间x,y,z,m
This function supports 3d and will not drop the z-index.