Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt

Use this file to discover all available pages before exploring further.

Return the centroid point of A ST_Centroid

Signatures

ST_Centroid (A: Geometry)

Parameters

A
Geometry
required
The input geometry.

Return type

The resulting geometry.

Example

SELECT ST_Centroid(ST_GeomFromWKT('MULTIPOINT(-1  0, -1 2, 7 8, 9 8, 10 6)'))
POINT (4.8 4.8)