earth.bear {fossil} | R Documentation |
Bearings Between Geographic Locations
Description
Calculate the bearing in degrees clockwise from True North between any two points on the globe.
Usage
earth.bear(long1, lat1, long2, lat2)
Arguments
long1 |
Longitude of site 1 |
lat1 |
Latitude of site 1 |
long2 |
Longitude of site 2 |
lat2 |
Latitude of site 2 |
Details
Calculate the bearing in degrees clockwise from True North between any two points on the globe. Primarily designed to be used with other included geographic tools.
Value
Returns a value in degrees from True North between two geographic points.
Author(s)
Matthew Vavrek
References
Haversine formula from Math Forums: Ask Dr. Math at http://mathforum.org/dr.math/
See Also
Examples
earth.bear(-100, 30, 20, -40)
[Package fossil version 0.4.0 Index]