2025-07-03 20:06:43 +02:00

19 lines
622 B
Plaintext

{
"name": "x_max",
"type": "function",
"groups": ["GeometryGroup"],
"description": "Returns the maximum x coordinate of a geometry. Calculations are in the spatial reference system of this geometry.",
"arguments": [{
"arg": "geometry",
"description": "a geometry"
}],
"examples": [{
"expression": "x_max(@geometry)",
"returns": "the maximum x coordinate of the current feature's geometry"
},{
"expression": "x_max( geom_from_wkt( 'LINESTRING(2 5, 3 6, 4 8)') )",
"returns": "4"
}],
"tags": ["coordinate", "spatial", "reference", "calculations", "system", "maximum", "east"]
}