Skip to main content

GEO_CENTROID

Returns the geometric center of a geometry

Updated today

Description

The GEO_CENTROID() function returns the geometric center point of a polygon or multi-geometry.

Syntax

GEO_CENTROID(geometry)

Output

geometry

Variables

  • geometry: The polygon or multi-geometry whose centroid you want to calculate.

Example

GEO_CENTROID(`territory`)

Territory

Geo Centroid

Territory A

Point

Territory B

Point

Territory C

Point

Did this answer your question?