xmax function

Returns the maximum x coordinate of a geometry. Calculations are in the Spatial Reference System of this Geometry.

Syntax

xmax(geom)

Arguments

geom → a geometry

Example

 xmax($geometry) → returns maximum x coordinate of $geometry