Skip to content

Commit 3ea6432

Browse files
authoredMay 14, 2018
Merge pull request #6985 from pigreco/help_in_linea_field_calc
corrections function_help
2 parents c985092 + 3660f3f commit 3ea6432

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
 

‎resources/function_help/json/array_intersect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "array_intersect",
33
"type": "function",
4-
"description": "Returns true if any element of array1 exists in array2.",
4+
"description": "Returns true if at least one element of array1 exists in array2.",
55
"arguments": [ {"arg":"array1","description":"an array"},
66
{"arg":"array2","description":"another array"}],
77
"examples": [ { "expression":"array_intersect(array(1,2,3,4),array(4,0,2,5))", "returns":"true"}]

‎resources/function_help/json/make_circle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{"arg":"radius", "description": "radius of the circle"},
99
{"arg":"segment", "description": "optional argument for polygon segmentation. By default this value is 36"}],
1010
"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))'"},
11-
{ "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))'"},
12-
{ "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))'"}
11+
{ "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))'"},
12+
{ "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))'"}
1313
]
1414
}

‎resources/function_help/json/make_ellipse

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{"arg":"azimuth", "description": "orientation of the ellipse"},
1111
{"arg":"segment", "description": "optional argument for polygon segmentation. By default this value is 36"}],
1212
"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))'"},
13-
{ "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))'"},
14-
{ "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))'"}
13+
{ "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))'"},
14+
{ "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))'"}
1515
]
1616
}

‎resources/function_help/json/num_geometries

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"type": "function",
44
"description": "Returns the number of geometries in a geometry collection, or null if the input geometry is not a collection.",
55
"arguments": [ {"arg":"geometry","description":"geometry collection"} ],
6-
"examples": [ { "expression":"num_geometries(geom_from_wkt('GEOMETRYCOLLECTION(POINT(0 1), POINT(0 0), POINT(1 0), POINT(1 1))'))'),3))", "returns":"4"}]
6+
"examples": [ { "expression":"num_geometries(geom_from_wkt('GEOMETRYCOLLECTION(POINT(0 1), POINT(0 0), POINT(1 0), POINT(1 1))'))", "returns":"4"}]
77
}

0 commit comments

Comments
 (0)
Please sign in to comment.