new.lat.long {fossil} | R Documentation |
Find a New Latitude and Longitude
Description
Find a new location using an original location (latitude and longitude) along with a bearing and distance
Usage
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
Examples
#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)
[Package fossil version 0.4.0 Index]