9 lines
347 B
Plaintext

{
"name": "x_min",
"type": "function",
"description": "Returns the minimum x coordinate of a geometry. Calculations are in the spatial reference system of this geometry.",
"arguments": [ {"arg":"geom","description":"a geometry"}],
"examples": [ { "expression":"x_min( geom_from_wkt( 'LINESTRING(2 5, 3 6, 4 8)') )", "returns":"2"}
]
}