Skip to main content
Returns the coordinate dimensions of the geometry. It is an alias of ST_NDims. ST_CoordDim

Signatures

Parameters

geom
Geometry
required
The input geometry.

Return type

An integer value.

Examples

Spark SQL Example with x, y coordinate: