Draws a polar histogram (rose plot) of edge compass bearings, the standard
visual summary of a street network's orientation order. Requires ggplot2.
Arguments
- x
An osm_graph or a numeric vector of bearings (degrees), e.g. from
ox_bearings().- num_bins
Number of equal bearing sectors. Default
36.- fill
Bar fill colour. Default the package blue.
- title
Optional plot title.
References
osmnxr is an R port of OSMnx. If you use it, please cite:
Boeing, G. (2025). Modeling and analyzing urban networks and amenities with OSMnx. Geographical Analysis, 57(4), 567–577. doi:10.1111/gean.70009
Examples
g <- example_osm_graph()
ox_plot_orientation(g)