mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
corrections
This commit is contained in:
parent
8d5e5c944d
commit
3660f3f63f
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "array_intersect",
|
||||
"type": "function",
|
||||
"description": "Returns true if any element of array1 exists in array2.",
|
||||
"description": "Returns true if at least one element of array1 exists in array2.",
|
||||
"arguments": [ {"arg":"array1","description":"an array"},
|
||||
{"arg":"array2","description":"another array"}],
|
||||
"examples": [ { "expression":"array_intersect(array(1,2,3,4),array(4,0,2,5))", "returns":"true"}]
|
||||
|
@ -8,7 +8,7 @@
|
||||
{"arg":"radius", "description": "radius of the circle"},
|
||||
{"arg":"segment", "description": "optional argument for polygon segmentation. By default this value is 36"}],
|
||||
"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), 5, 4))", "returns":"'Polygon ((10 15 5, 15 10 5, 10 5 5, 5 10 5, 10 15 5))'"},
|
||||
{ "expression":"geom_to_wkt(make_circle(make_point(10,10,5,30), 5, 4))", "returns":"'Polygon ((10 15 5 30, 15 10 5 30, 10 5 5 30, 5 10 5 30, 10 15 5 30))'"}
|
||||
{ "expression":"geom_to_wkt(make_circle(make_point(10,10,5), 5, 4))", "returns":"'PolygonZ ((10 15 5, 15 10 5, 10 5 5, 5 10 5, 10 15 5))'"},
|
||||
{ "expression":"geom_to_wkt(make_circle(make_point(10,10,5,30), 5, 4))", "returns":"'PolygonZM ((10 15 5 30, 15 10 5 30, 10 5 5 30, 5 10 5 30, 10 15 5 30))'"}
|
||||
]
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
{"arg":"azimuth", "description": "orientation of the ellipse"},
|
||||
{"arg":"segment", "description": "optional argument for polygon segmentation. By default this value is 36"}],
|
||||
"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_circle(make_point(10,10,5), 5, 2, 90, 4))", "returns":"'Polygon ((15 10 5, 10 8 5, 5 10 5, 10 12 5, 15 10 5))'"},
|
||||
{ "expression":"geom_to_wkt(make_circle(make_point(10,10,5,30), 5, 2, 90, 4))", "returns":"'Polygon ((15 10 5 30, 10 8 5 30, 5 10 5 30, 10 12 5 30, 15 10 5 30))'"}
|
||||
{ "expression":"geom_to_wkt(make_ellipse(make_point(10,10,5), 5, 2, 90, 4))", "returns":"'PolygonZ ((15 10 5, 10 8 5, 5 10 5, 10 12 5, 15 10 5))'"},
|
||||
{ "expression":"geom_to_wkt(make_ellipse(make_point(10,10,5,30), 5, 2, 90, 4))", "returns":"'PolygonZM ((15 10 5 30, 10 8 5 30, 5 10 5 30, 10 12 5 30, 15 10 5 30))'"}
|
||||
]
|
||||
}
|
||||
|
@ -3,5 +3,5 @@
|
||||
"type": "function",
|
||||
"description": "Returns the number of geometries in a geometry collection, or null if the input geometry is not a collection.",
|
||||
"arguments": [ {"arg":"geometry","description":"geometry collection"} ],
|
||||
"examples": [ { "expression":"num_geometries(geom_from_wkt('GEOMETRYCOLLECTION(POINT(0 1), POINT(0 0), POINT(1 0), POINT(1 1))'))'),3))", "returns":"4"}]
|
||||
"examples": [ { "expression":"num_geometries(geom_from_wkt('GEOMETRYCOLLECTION(POINT(0 1), POINT(0 0), POINT(1 0), POINT(1 1))'))", "returns":"4"}]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user