mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
19 lines
647 B
Plaintext
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"]
|
|
}
|