The ratio of total edge length to total straight-line (great-circle for
geographic CRS, Euclidean for projected) distance between edge endpoints. A
value of 1 means perfectly straight streets; higher values indicate more
winding networks.
Arguments
- g
An osm_graph.
Examples
g <- example_osm_graph()
ox_circuity(g)
#> [1] 1