Skip to content
Permalink
Browse files

Merge pull request #6966 from kannes/patch-1

add optional segments argument in buffer function docs
  • Loading branch information
m-kuhn committed May 10, 2018
2 parents 85f42e7 + e8d1099 commit 9e1be6e8bd6eedd36e8b23c3f20e2b0f6354ab02
Showing with 2 additions and 1 deletion.
  1. +2 −1 resources/function_help/json/buffer
@@ -3,7 +3,8 @@
"type": "function",
"description": "Returns a geometry that represents all points whose distance from this geometry is less than or equal to distance. Calculations are in the Spatial Reference System of this geometry.",
"arguments": [ {"arg":"geom","description":"a geometry"},
{"arg":"distance","description":"buffer distance in layer units"}],
{"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"}]
}

0 comments on commit 9e1be6e

Please sign in to comment.
You can’t perform that action at this time.