Skip to main content
Returns the coordinate dimension of the geometry. ST_NDims

Signatures

Parameters

geom
Geometry
required
The input geometry.

Return type

An integer value.

Examples

Spark SQL example with x,y coordinate: