Initial compass bearing (degrees clockwise from north) of each edge, from its first to its last coordinate. Geographic coordinates are used; projected graphs are transformed to EPSG:4326 first.
Arguments
- g
An osm_graph.
Examples
g <- example_osm_graph()
head(ox_bearings(g))
#> [1] 90 0 90 0 90 0