geo_destination {geoops} | R Documentation |
Calculate a destination
geo_destination(from, distance, bearing, units = "kilometers")
from |
|
distance |
|
bearing |
(numeric) ranging from -180 to 180 |
units |
(character) miles, kilometers, degrees, or radians |
(character) destination Feature<Point>
point <- '{ "type": "Feature", "properties": { "marker-color": "#0f0" }, "geometry": { "type": "Point", "coordinates": [-75.343, 39.984] } }' geo_destination(point, 50, 90, 'miles') geo_destination(point, 200, 90)