|Functions / Geometry Observer Functions (return a scalar value)|
Returns the x-coordinate of the centroid of a geometry object.
MI_CentroidX ( geometry )
geometry is an expression which returns a geometry.
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')
The value returned is a double and represents a value in terms of the coordinate system of the input geometry.