ST_Centroid
Signature
Description
Returns the centroid of geom
as a POINT
.
Only the highest-dimension Geometries of a
GEOMETRYCOLLECTION
are considered.
The lower-dimension Geometries contribute zero weight to the centroid.
Implements the OpenGIS Simple Features Implementation Specification for
SQL version
1.2.1.
Examples
See also