new.lat.long: Find a New Latitude and Longitude

Description Usage Arguments Value Author(s) See Also Examples

Description

Find a new location using an original location (latitude and longitude) along with a bearing and distance

Usage

1
new.lat.long(long, lat, bearing, distance)

Arguments

long

original longitude

lat

original latitude

bearing

bearing from original point to new location, degrees from North

distance

distance to location

Value

a vector of length 2 with the new latitude and longitude respectively

Author(s)

Matthew Vavrek

See Also

deg.dist, earth.bear

Examples

1
2
3
#Travel from 0,0 to a new location at a bearing of 45 degrees 
#from North (clockwise) and 1000 km away
new.lat.long(long = 0, lat = 0, bearing = 45, distance = 1000)

fossil documentation built on March 23, 2020, 5:06 p.m.