ST_Centroid¶
Introduction: Return the centroid point of A
Format: ST_Centroid (A: Geometry)
Since: v1.0.0
SQL Example
SELECT ST_Centroid(ST_GeomFromWKT('MULTIPOINT(-1 0, -1 2, 7 8, 9 8, 10 6)'))
Output:
POINT (4.8 4.8)
Introduction: Return the centroid point of A
Format: ST_Centroid (A: Geometry)
Since: v1.0.0
SQL Example
SELECT ST_Centroid(ST_GeomFromWKT('MULTIPOINT(-1 0, -1 2, 7 8, 9 8, 10 6)'))
Output:
POINT (4.8 4.8)