mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
- Expose default values of args - Fix args name or description - Fix/add more examples (to show various possibilities of a function or so that functions that relate have examples that relate)
12 lines
549 B
Plaintext
12 lines
549 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"}
|
|
]
|
|
}
|
|
|