Alessandro Pasotti db37ec5530
Apply suggestions from code review
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2022-03-21 09:17:02 +01: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"]
}