Skip to content

Commit

Permalink
Merge pull request #46684 from roya0045/improve_func_doc
Browse files Browse the repository at this point in the history
extend geometry_n definition
  • Loading branch information
elpaso committed Jan 5, 2022
2 parents 40f2f71 + 35d9e12 commit df64116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/function_help/json/geometry_n
Expand Up @@ -2,7 +2,7 @@
"name": "geometry_n",
"type": "function",
"groups": ["GeometryGroup"],
"description": "Returns a specific geometry from a geometry collection, or NULL if the input geometry is not a collection.",
"description": "Returns a specific geometry from a geometry collection, or NULL if the input geometry is not a collection. Also returns a part from a multipart geometry.",
"arguments": [ {"arg":"geometry","description":"geometry collection"},
{"arg":"index","description":"index of geometry to return, where 1 is the first geometry in the collection"} ],
"examples": [ { "expression":"geom_to_wkt(geometry_n(geom_from_wkt('GEOMETRYCOLLECTION(POINT(0 1), POINT(0 0), POINT(1 0), POINT(1 1))'),3))", "returns":"'Point (1 0)'"}]
Expand Down

0 comments on commit df64116

Please sign in to comment.