QGIS/resources/function_help/json/tapered_buffer

13 lines
908 B
Plaintext
Raw Normal View History

{
"name": "tapered_buffer",
"type": "function",
2020-07-02 01:46:48 +01:00
"groups": ["GeometryGroup"],
"description": "Creates a buffer along a line geometry where the buffer diameter varies evenly over the length of the line.",
"arguments": [ {"arg":"geometry","description":"input geometry. Must be a (multi)line geometry."},
{"arg":"start_width","description":"width of buffer at start of line,"},
{"arg":"end_width","description":"width of buffer at end of line."},
{"arg":"segments","optional":true,"default":"8","description":"number of segments to approximate quarter-circle curves in the buffer."}],
"examples": [ { "expression":"tapered_buffer(geometry:=geom_from_wkt('LINESTRING(1 2, 4 2)'),start_width:=1,end_width:=2,segments:=8)", "returns":"A tapered buffer starting with a diameter of 1 and ending with a diameter of 2 along the linestring geometry."}]
}