Skip to contents

Get the cardinal directions for the segments

Usage

get_cardinal_dirs(mysegments)

Arguments

mysegments

an sf object with the segments

Value

a data.frame with the correspondence of left lft and right rgtdirections to cardinal directions of the road

Examples

if (FALSE) { # \dontrun{
anysegment = my_segments |>
                filter(oidn == 9000003890)

get_cardinal_dirs(anysegment)
} # }