MI_CentroidX
Description
Returns the x-coordinate of the centroid of a geometry object.
Syntax
MI_CentroidX ( geometry )
Arguments
geometry is an expression which returns a geometry.
Example
Returns x-coordinate of the centroid of the specified country geometries.
select MI_CentroidX([Geometry_Column]) as mi_centroidX 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.