ST_Centroid() method

Computes the ST_Point that is the mathematical centroid of the multi-surface.

Syntax

multisurface-expression.ST_Centroid()

Returns

ST_Point If the multi-surface is the empty set, returns NULL. Otherwise, returns the mathematical centroid of the surface.

Examples

Standards

SQL/MM (ISO/IEC 13249-3: 2006) 9.5.5