powered by
Find a new location using an original location (latitude and longitude) along with a bearing and distance
new.lat.long(long, lat, bearing, distance)
original longitude
original latitude
bearing from original point to new location, degrees from North
distance to location
a vector of length 2 with the new latitude and longitude respectively
deg.dist, earth.bear
deg.dist
earth.bear
# NOT RUN { #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) # }
Run the code above in your browser using DataLab