Skip to content
Browse files

Add details to project expression and fix example

(cherry picked from commit ae45af5)
  • Loading branch information
DelazJ authored and nyalldawson committed Mar 4, 2020
1 parent 0e73f44 commit 8ed98475b82611b61dd081725e2957b57654bece
Showing with 2 additions and 2 deletions.
  1. +2 −2 resources/function_help/json/project
@@ -1,14 +1,14 @@
"name": "project",
"type": "function",
"description": "Returns a point projected from a start point using a distance and bearing (azimuth) in radians.",
"description": "Returns a point projected from a start point using a distance, a bearing (azimuth) and an elevation in radians.",
"arguments": [
{"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", "optional":true}
"examples": [
{ "expression":"project(make_point(1, 2), 3, radians(270))", "returns":"Point(-2, 2)"}
{ "expression":"geom_to_wkt(project(make_point(1, 2), 3, radians(270)))", "returns":"Point(-2, 2)"}

0 comments on commit 8ed9847

Please sign in to comment.
You can’t perform that action at this time.