lwgeom (version 0.2-5)

st_geod_azimuth: compute azimuth between sequence of points

Description

compute azimuth between sequence of points

Usage

st_geod_azimuth(x)

Arguments

x

object of class sf, sfc or sfg

Examples

Run this code
# NOT RUN {
library(sf)
p = st_sfc(st_point(c(7,52)), st_point(c(8,53)), crs = 4326)
st_geod_azimuth(p)
# }

Run the code above in your browser using DataLab