ST_Centroid Method | Geospatial Data Types | Teradata Vantage - 17.10 - ST_Centroid 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 mathematical centroid of an ST_Polygon or ST_MultiPolygon value.

Valid Data Types

ST_Polygon or ST_MultiPolygon.

This method can be called on 3D geometries (those that include z coordinates). However, the z coordinate is dropped, and only x and y coordinates are returned.

Result Type

Returns an ST_Point value.