2015-12-26 21:55:33 +01:00
|
|
|
{
|
|
|
|
"name": "azimuth",
|
|
|
|
"type": "function",
|
2021-11-17 19:03:40 +01:00
|
|
|
"groups": ["GeometryGroup"],
|
2016-03-29 16:22:04 +11:00
|
|
|
"description": "Returns the north-based azimuth as the angle in radians measured clockwise from the vertical on point_a to point_b.",
|
2015-12-26 21:55:33 +01:00
|
|
|
"arguments": [
|
2016-03-29 16:22:04 +11:00
|
|
|
{"arg":"point_a","description":"point geometry"},
|
|
|
|
{"arg":"point_b","description":"point geometry"}
|
2015-12-26 21:55:33 +01:00
|
|
|
],
|
|
|
|
"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"}
|
|
|
|
]
|
|
|
|
}
|