distaz {GEOmap}R Documentation

Distance and Azimuth from two points

Description

Calculate distance, Azimuth and Back-Azimuth from two points on Globe.

Usage

distaz(olat, olon, tlat, tlon)

Arguments

olat origin latitude, degrees
olon origin longitude, degrees
tlat target latitude, degrees
tlon target longitude, degrees

Value

List

del Delta, angle in degrees
az Azimuth, angle in degrees
baz back Azimuth, (az+180) in degrees
dist distance in km

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

See Also

along.great, getgreatarc

Examples


d = distaz(12, 23, -32,    -65)
d


[Package GEOmap version 1.4-2 Index]