Skip to content

Commit

Permalink
Merge pull request #6985 from pigreco/help_in_linea_field_calc
Browse files Browse the repository at this point in the history
corrections function_help
  • Loading branch information
m-kuhn committed May 14, 2018
2 parents c985092 + 3660f3f commit 3ea6432
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion resources/function_help/json/array_intersect
@@ -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"}]
Expand Down
4 changes: 2 additions & 2 deletions resources/function_help/json/make_circle
Expand Up @@ -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))'"}
]
}
4 changes: 2 additions & 2 deletions resources/function_help/json/make_ellipse
Expand Up @@ -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))'"}
]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/num_geometries
Expand Up @@ -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"}]
}

0 comments on commit 3ea6432

Please sign in to comment.