ST_CoordDim() method

Returns the number of coordinate dimensions stored with each point of the ST_Geometry value.

Syntax

geometry-expression.ST_CoordDim()

Returns

SMALLINT Returns a value between 2 and 4 indicating the number of coordinate dimensions stored with each point of the ST_Geometry value.

Examples

Standards

SQL/MM (ISO/IEC 13249-3: 2006) 5.1.3