mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
15 lines
572 B
Plaintext
15 lines
572 B
Plaintext
{
|
|
"name": "project",
|
|
"type": "function",
|
|
"description": "Returns a point projected from a start point using a distance and bearing (azimuth) 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"}
|
|
],
|
|
"examples": [
|
|
{ "expression":"project(make_point(1, 2), 3, radians(270))", "returns":"Point(-2, 2)"}
|
|
]
|
|
}
|