download_osmnx_graph

download_osmnx_graph()

Load a simple street map from Open Street Map.

Generated from:

>>> import osmnx as ox  
>>> address = 'Holzgerlingen DE'  
>>> graph = ox.graph_from_address(address, dist=500, network_type='drive')  
>>> pickle.dump(graph, open('osmnx_graph.p', 'wb'))  
Returns
networkx.classes.multidigraph.MultiDiGraph

An osmnx graph of the streets of Holzgerlingen, Germany.

Examples

>>> from pyvista import examples
>>> graph = examples.download_osmnx_graph()  

See Plot Open Street Map Data for a full example using this dataset.