MI_CentroidY

Description

Returns the y-coordinate of the centroid of a geometry object.

Syntax

MI_CentroidY ( geometry )

Arguments

geometry is an expression which returns a geometry.

Example

Returns the y-coordinate of the centroid of the specified country geometries.

select MI_CentroidY([Geometry_Column]) as mi_centroidY from countries where country= ANY ('Bermuda','Cuba')

Remarks

The value returned is a double and represents a value in terms of the coordinate system of the input geometry.