Geo functions
heading
Commentary
added in 0.3.3
Given a pair of starting and ending coordinates, calculates the heading in degrees, assuming a straight line.
Examples
Apply heading
{
"_gen": "heading",
"src": [
37.79254818258253,
-122.24934557257774
],
"dst": [
37.765734798650634,
-117.30763932906169
]
}
[
272.658788219642
]
Specification
JSON schema
{
"type": "object"
}