ST_CoordDim Method | Geospatial Data Types | Teradata Vantage - 17.10 - ST_CoordDim Method - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Geospatial Data Types

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1181-171K
Language
English (United States)

Returns the coordinate dimension of a geometry.

Valid Data Types

Any ST_Geometry type.

Result Type

Returns a SMALLINT value:
  • 1, if the input geometry is 1D
  • 2, if the input geometry is 2D
  • 3, if the input geometry is 3D