View source: R/bearing.distance.R
bearing.distance | R Documentation |
Calculates a new point [X,Y] based on defined bearing and distance
bearing.distance(x, y, distance, azimuth, EastOfNorth = TRUE)
x |
x coordinate |
y |
y coordinate |
distance |
Distance to new point (in same units as x,y) |
azimuth |
Azimuth to new point |
EastOfNorth |
Specified surveying convention |
East of north is a surveying convention and defaults to true.
a new point representing location of baring and distance
Jeffrey S. Evans <jeffrey_evans@tnc.org>
pt <- cbind( x=480933, y=4479433)
bearing.distance(pt[1], pt[2], 1000, 40)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.