Centroid

The Centroid function calculates the geographic center of a polygon. It returns a single point. You could use the Centroid function to determine the practical distance between two polygons.

Syntax

Centroid(polygon)

The function argument is:

polygonRequiredThe object for which we calculate the geometric centerMust be in valid Geography polygon format.

Examples

Centroid([Coordinates])

Calculates the exact center of a polygon in column Coordinates:

Last updated

Was this helpful?