MI_X

Description

Returns the x coordinate of a Point geometry.

Syntax

MI_X ( point_geometry )

Arguments

point_geometry is an expression which returns a feature geometry of type Point.

Example

Returns the x coordinate point for the centroid of countries starting with 'bra'.

select Country,MI_X(MI_Centroid([Geometry_Column])) as MI_X from countries where country like 'bra%'

Remarks

The value returned is a double and represents a value in terms of the coordinate system of the input point_geometry. If the input geometry is not a Point geometry, then null is returned.