Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fully explain the examples
avoiding use of $geometry function in explanation
  • Loading branch information
DelazJ authored and nyalldawson committed Jul 30, 2020
1 parent 490c8ff commit a4372d2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/function_help/json/bounds
Expand Up @@ -4,6 +4,6 @@
"groups": ["GeometryGroup"],
"description":"Returns a geometry which represents the bounding box of an input geometry. Calculations are in the Spatial Reference System of this geometry.",
"arguments": [ {"arg":"geometry","description":"a geometry"} ],
"examples": [ { "expression":"bounds($geometry)", "returns":"bounding box of $geometry"}]
"examples": [ { "expression":"bounds($geometry)", "returns":"bounding box of the current feature's geometry"}]
}

2 changes: 1 addition & 1 deletion resources/function_help/json/bounds_height
Expand Up @@ -4,6 +4,6 @@
"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 $geometry"}]
"examples": [ { "expression":"bounds_height($geometry)", "returns":"height of bounding box of the current feature's geometry"}]
}

2 changes: 1 addition & 1 deletion resources/function_help/json/bounds_width
Expand Up @@ -4,6 +4,6 @@
"groups": ["GeometryGroup"],
"description": "Returns the width 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_width($geometry)", "returns":"width of bounding box of $geometry"}]
"examples": [ { "expression":"bounds_width($geometry)", "returns":"width of bounding box of the current feature's geometry"}]
}

2 changes: 1 addition & 1 deletion resources/function_help/json/buffer
Expand Up @@ -6,6 +6,6 @@
"arguments": [ {"arg":"geometry","description":"a geometry"},
{"arg":"distance","description":"buffer distance in layer units"},
{"arg":"segments","optional":true,"default":"8","description":"number of segments to use to represent a quarter circle when a round join style is used. A larger number results in a smoother buffer with more nodes."}],
"examples": [ { "expression":"buffer($geometry, 10.5)", "returns":"polygon of $geometry buffered by 10.5 units"}]
"examples": [ { "expression":"buffer($geometry, 10.5)", "returns":"polygon of the current feature's geometry buffered by 10.5 units"}]
}

2 changes: 1 addition & 1 deletion resources/function_help/json/num_points
Expand Up @@ -4,6 +4,6 @@
"groups": ["GeometryGroup"],
"description": "Returns the number of vertices in a geometry.",
"arguments": [ {"arg":"geometry","description":"a geometry"}],
"examples": [ { "expression":"num_points($geometry)", "returns":"number of vertices in $geometry"}]
"examples": [ { "expression":"num_points($geometry)", "returns":"number of vertices in the current feature's geometry"}]
}

0 comments on commit a4372d2

Please sign in to comment.