Functions / Geometry Observer Functions (return a scalar value) |

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

MI_CentroidY ( geometry )

`geometry` is an expression which returns a geometry.

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')

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