Calculate distances in metres and bearing between successive points along track.
calc_distbearing(lonlat)
| lonlat | a 2-column matrix or dataframe with longitude and latitude of each point |
|---|
A dataframe with columns
lonthe longitude of the randomized track
latthe latitude of the randomized track
This is an internal function used by randomize_track.