2023-05-12 06:30:43 +10:00

19 lines
647 B
Plaintext

{
"name": "bounds_height",
"type": "function",
"groups": ["GeometryGroup"],
"description": "Returns the height of the bounding box of a geometry. Calculations are in the Spatial Reference System of this geometry.",
"arguments": [{
"arg": "geometry",
"description": "a geometry"
}],
"examples": [{
"expression": "bounds_height(@geometry)",
"returns": "height of bounding box of the current feature's geometry"
}, {
"expression": "bounds_height(geom_from_wkt('Polygon((1 1, 0 0, -1 1, 1 1))'))",
"returns": "1"
}],
"tags": ["box", "spatial", "reference", "calculations", "system", "height", "bounding"]
}