This directory contains imported network and scenarios.
To import a custom map from OpenStreetMap you will need to install the sumo binaries and use the webWizard to download the necessary files.
If you just want to use the map you can set the osm_path parameter of flow.core.params.NetParams pointing to the osm_bbox.osm.xml file.
If you wish to use the get_edges function in map_utils to add inflows to an imported OSM map you need to follow these instructions.
Having your directory map_dir with all the xml files you need to run the following commands:
cd map_dir
- locate the osm_bbox.osm.xml file.
netconvert --osm-files osm_bbox.osm.xml --output-file yourMapName.net.xml --keep-edges.by-vclass passenger --remove-edges.isolated
This will generate the file yourMapName.net.xml which needs to be fed to the get_edges function in map_utils.