R/segment_metrics.R
calc_segment_azimuth.Rd
Azimuth (bearing) from start to end point, measured clockwise from north in degrees (0-360).
calc_segment_azimuth(segments)
An sf object with columns pX, pY, kX, kY.
pX, pY, kX, kY
The same sf object with added column azimuth.
azimuth