Skip to content

Commit

Permalink
Add missing documentation for geom_to_wkt precision argument
Browse files Browse the repository at this point in the history
(cherry picked from commit 8b968cf)
  • Loading branch information
nyalldawson authored and nirvn committed Nov 26, 2019
1 parent 9a68835 commit d051fca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion resources/function_help/json/geom_to_wkt
Expand Up @@ -2,7 +2,8 @@
"name": "geom_to_wkt",
"type": "function",
"description": "Returns the Well-Known Text (WKT) representation of the geometry without SRID metadata.",
"arguments": [ {"arg":"geometry","description":"a geometry"}],
"arguments": [ {"arg":"geometry","description":"a geometry"},
{"arg":"precision","description":"numeric precision", "optional":true}],
"examples": [ { "expression":"geom_to_wkt( $geometry )", "returns":"POINT(6 50)"}
]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/project
Expand Up @@ -6,7 +6,7 @@
{"arg":"point","description":"start point"},
{"arg":"distance","description":"distance to project"},
{"arg":"azimuth","description":"azimuth in radians clockwise, where 0 corresponds to north"},
{"arg":"elevation","description":"angle of inclination in radians"}
{"arg":"elevation","description":"angle of inclination in radians", "optional":true}
],
"examples": [
{ "expression":"project(make_point(1, 2), 3, radians(270))", "returns":"Point(-2, 2)"}
Expand Down

0 comments on commit d051fca

Please sign in to comment.