R/download.R
ox_graph_from_bbox.Rd
Download a street network within a bounding box
ox_graph_from_bbox(bbox, network_type = "drive")
Numeric vector c(xmin, ymin, xmax, ymax) in longitude/latitude (EPSG:4326).
c(xmin, ymin, xmax, ymax)
One of "drive", "walk", "bike" or "all".
"drive"
"walk"
"bike"
"all"
An osm_graph.
if (FALSE) { # interactive() bbox <- c(-34.91, -8.07, -34.87, -8.04) g <- ox_graph_from_bbox(bbox, network_type = "drive") }