lonlat_to_bearing: Calculate great circle distance and bearing between...

View source: R/main.R

lonlat_to_bearingR Documentation

Calculate great circle distance and bearing between coordinates

Description

Calculate great circle distance and bearing between spatial coordinates.

Usage

lonlat_to_bearing(origin_lon, origin_lat, dest_lon, dest_lat, earth_rad = 6371)

Arguments

origin_lon, origin_lat

the origin longitude and latitude.

dest_lon, dest_lat

the destination longitude and latitude.

earth_rad

the assumed radius of the earth (km).


bobverity/bobfunctions2 documentation built on July 4, 2023, 8:55 p.m.