dirProj: Computes new coordinates given bearings and distances.
Description
Computes new coordinates from bearings (North = 0) and distances
Usage
dirProj(df,deg=TRUE)
Value
a matrix of two columns with the projected coordinates
Arguments
df
a matrix or data frame of 4 columns giving x, y coordinates, bearings and distances
deg
if TRUE (default) bearings are in degree, otherwise in radian
Details
Computings are based on euclidian distance. Therefore, the coordinates should be given in a projected (plan) system (e.g. UTM, Lambert, etc.) and the distance in the same units as the projection system (e.g. meters).