x_max function

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

Syntax

x_max(geom)

Arguments

geom → a geometry

Example

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