mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
Use correct argument name in the help file
segments and not segment
This commit is contained in:
parent
d49d10bf4d
commit
fc88150ffd
@ -6,7 +6,7 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{"arg":"center", "description": "center point of the circle"},
|
{"arg":"center", "description": "center point of the circle"},
|
||||||
{"arg":"radius", "description": "radius of the circle"},
|
{"arg":"radius", "description": "radius of the circle"},
|
||||||
{"arg":"segment", "optional": true, "default": "36", "description": "optional argument for polygon segmentation. By default this value is 36"}
|
{"arg":"segments", "optional": true, "default": "36", "description": "optional argument for polygon segmentation. By default this value is 36"}
|
||||||
],
|
],
|
||||||
"examples": [
|
"examples": [
|
||||||
{ "expression":"geom_to_wkt(make_circle(make_point(10,10), 5, 4))", "returns":"'Polygon ((10 15, 15 10, 10 5, 5 10, 10 15))'"},
|
{ "expression":"geom_to_wkt(make_circle(make_point(10,10), 5, 4))", "returns":"'Polygon ((10 15, 15 10, 10 5, 5 10, 10 15))'"},
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
{"arg":"semi_major_axis", "description": "semi-major axis of the ellipse"},
|
{"arg":"semi_major_axis", "description": "semi-major axis of the ellipse"},
|
||||||
{"arg":"semi_minor_axis", "description": "semi-minor axis of the ellipse"},
|
{"arg":"semi_minor_axis", "description": "semi-minor axis of the ellipse"},
|
||||||
{"arg":"azimuth", "description": "orientation of the ellipse"},
|
{"arg":"azimuth", "description": "orientation of the ellipse"},
|
||||||
{"arg":"segment", "optional": true, "default": "36", "description": "optional argument for polygon segmentation. By default this value is 36"}
|
{"arg":"segments", "optional": true, "default": "36", "description": "optional argument for polygon segmentation. By default this value is 36"}
|
||||||
],
|
],
|
||||||
"examples": [
|
"examples": [
|
||||||
{ "expression":"geom_to_wkt(make_ellipse(make_point(10,10), 5, 2, 90, 4))", "returns":"'Polygon ((15 10, 10 8, 5 10, 10 12, 15 10))'"},
|
{ "expression":"geom_to_wkt(make_ellipse(make_point(10,10), 5, 2, 90, 4))", "returns":"'Polygon ((15 10, 10 8, 5 10, 10 12, 15 10))'"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user