Skip to content

Commit

Permalink
Fix default value for buffer cap argument
Browse files Browse the repository at this point in the history
Default is 'round' (tested), old value 8 was a miscopy from line above.
  • Loading branch information
Houska1 authored and nyalldawson committed Dec 27, 2021
1 parent 5ce44b2 commit 23d6559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/function_help/json/buffer
Expand Up @@ -6,7 +6,7 @@
"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."},
{"arg":"cap","optional":true,"default":"8","description":"end cap style for buffer. Valid values are 'round', 'flat' or 'square'"},
{"arg":"cap","optional":true,"default":"'round'","description":"end cap style for buffer. Valid values are 'round', 'flat' or 'square'"},
{"arg":"join","optional":true,"default":"'round'","description":"join style for buffer. Valid values are 'round', 'bevel' or 'miter'."},
{"arg":"miter_limit","optional":true,"default":"2","description":"miter distance limit, for use when the join style is set to 'miter'"}],
"examples": [ { "expression":"buffer($geometry, 10.5)", "returns":"polygon of the current feature's geometry buffered by 10.5 units"}]
Expand Down

0 comments on commit 23d6559

Please sign in to comment.