Skip to contents

Download a street network around an address

Usage

ox_graph_from_address(address, dist = 1000, network_type = "drive")

Arguments

address

A street address.

dist

Buffer half-width in metres. Default 1000.

network_type

One of "drive", "walk", "bike" or "all".

Value

An osm_graph.

Examples

if (FALSE) { # interactive()
g <- ox_graph_from_address("Marco Zero, Recife", dist = 600)
}