mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
14 lines
537 B
Plaintext
14 lines
537 B
Plaintext
|
{
|
||
|
"name": "azimuth",
|
||
|
"type": "function",
|
||
|
"description": "Returns the north-based azimuth as the angle in radians measured clockwise from the vertical on pointA to pointB.",
|
||
|
"arguments": [
|
||
|
{"arg":"pointA","description":"point geometry"},
|
||
|
{"arg":"pointB","description":"point geometry"}
|
||
|
],
|
||
|
"examples": [
|
||
|
{ "expression":"degrees( azimuth( make_point(25, 45), make_point(75, 100) ) )", "returns":"42.273689"},
|
||
|
{ "expression":"degrees( azimuth( make_point(75, 100), make_point(25,45) ) )", "returns":"222.273689"}
|
||
|
]
|
||
|
}
|