Skip to content
Permalink
Browse files
Fix default value for buffer cap argument
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 23d6559c5d879d00f2c3cc93bbb6352c759d98dc
Showing with 1 addition and 1 deletion.
  1. +1 −1 resources/function_help/json/buffer
@@ -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"}]

0 comments on commit 23d6559

Please sign in to comment.