mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
14 lines
499 B
Plaintext
14 lines
499 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":"bearing","description":"bearing in radians clockwise, where 0 corresponds to north"}
|
||
|
],
|
||
|
"examples": [
|
||
|
{ "expression":"project(make_point(1, 2), 3, radians(270))", "returns":"Point(-2, 2)"}
|
||
|
]
|
||
|
}
|