powered by
Calculates the bearing between two points, given each point's latitude and longitude coordinates
bearing(lat1, lon1, lat2, lon2)
vector with initial and final bearings.
numeric. The latitude and longitude of the starting coordinate in decimal degrees.
numeric. The latitude and longitude of the ending coordinate in decimal degrees.
Eric Archer eric.archer@noaa.gov
# What is the bearing from San Diego, CA to Honolulu, HI? bearing(32.87, -117.25, 21.35, -157.98)
Run the code above in your browser using DataLab