ST_Dimension Method | Geospatial Data Types | Teradata Vantage - 17.10 - ST_Dimension 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 dimension of the ST_Geometry type.

Valid Data Types

All ST_Geometry types.

Result Type

Returns a SMALLINT value:
  • 0, for a 0-dimensional geometry
  • 1, for a 1D geometry
  • 2, for a 2D geometry
  • -1, if the input geometry is empty