mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
16 lines
649 B
Plaintext
16 lines
649 B
Plaintext
{
|
|
"name": "project",
|
|
"type": "function",
|
|
"groups": ["GeometryGroup"],
|
|
"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":"geom_to_wkt(project(make_point(1, 2), 3, radians(270)))", "returns":"Point(-2, 2)"}
|
|
]
|
|
}
|