OSM Web Wizard for SUMO
Warning:
The OSM Web Wizard is a convenient way to select OSM Areas and convert them into SUMO net files.
However, the OSM Web Wizard doesn’t take some options into account which could be set when using netconvert. Netconvert and it’s many options should be used for more accurate data exports whereas OSM Web Wizard can be used for more convenient exports.
E.g. turning directions of lanes are only guessed by OSMWW
Convert Open Street Map data to SUMO config file
Links:
More detailed tutorial
osmWebWizard.py doc
How to use (tested on macOS):
seems to come preinstalled with SUMO
If the macOS Application
OSM Web Wizard.appdoesn’t work, use the CLI to start itBUG: Sometimes the OSM Web Wizard throws an FileNotFoundError, an easy fix is to restart the OSM Web Wizard eg. by rerunning the python command in 2
Find your
SUMO_HOMEdir, e.g. by looking at yourPATH(macOS default might be/usr/local/opt/sumo/share/sumo)Run
python3 <SUMO_HOME>/tools/osmWebWizard.py, replacingSUMO_HOMEaccording to your pathThis will open a web tool which allows configuration for the OSM export
Edit preferences and click
Generate Scenario, this will take some time then should open a SUMO window with the generated configuration
For enhancing the generated scenario, read the more detailed tutorial