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

Returns the maximum x value of the MBR of a geometry.

MI_MaxX ( geometry )

`geometry` is an expression which returns a geometry.

Returns the maximum x value of the MBR of the specified country geometry.

select MI_MaxX([Geometry_Column]) as MI_MaxX from countries where country='Canada'

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