By default the generated network contains only walkable routes,
specify type='drive' to get driveable routes.
These networks have one impedance set, named 'distance',
which is the distance between nodes in meters.

Saving a Network to HDF5 is a way to share a Network or to preserve
it between sessions. For example. you can build a Network using the
OpenStreetMap API, then save the Network to HDF5 so you can reuse it
without querying OSM again.
Users will typically use the
save_hdf5() and
from_hdf5() methods.

Note

Only the nodes and edges of the network are saved.
Points-of-interest and data attached to nodes via the
set() method are not included.

When saving a Network to HDF5 it’s possible to exclude certain nodes.
This can be useful when refining a network so that it includes only
validated nodes.
(In the current design of Pandana it’s not possible to modify a
Network in place.)
As an example, you can use the
low_connectivity_nodes() method
to identify nodes that may not be connected to the larger network,
then exclude those nodes when saving to HDF5:

Specify whether the network will be used for walking or driving.
A value of ‘walk’ attempts to exclude things like freeways,
while a value of ‘drive’ attempts to exclude things like
bike and walking paths.

two_way:bool, optional

Whether the routes are two-way. If True, node pairs will only
occur once.

timeout:int, optional

the timeout interval for requests and to pass to Overpass API

memory:int, optional

server memory allocation size for the query, in bytes.
If none, server will use its default allocation size

max_query_area_size:float, optional

max area for any part of the geometry, in the units the geometry is in