---
title: Tools/Import/OSM
permalink: /Tools/Import/OSM/
---

# osmWebWizard.py

This script opens a webbrowser and allows selecting a geographic region
on a map. It also provides some controls for specifying random traffic
demand for different traffic modes. When clicking the 'Generate'-button,
the simulation network for the selected area is build based on [OSM data](../../Networks/Import/OpenStreetMap.md), random demand is
generated and [SUMO-GUI](../../SUMO-GUI.md) is started.

!!! note
    A [usage tutorial is available](../../Tutorials/OSMWebWizard.md).

All files that make up the scenario are created in a subfolder of the
working directory with the current timestamp (i.e.
{{SUMO}}/tools/2016-09-30-10-00-00/). If you edit the network, you can use the
script *build.bat* to rebuilt the random demand.

Call:

```
python <SUMO_HOME>/tools/osmWebWizard.py
```

The script will keep running so you can build multiple scenarios in your
web-browser. Stop the script when you're done to free up the port again.

!!! caution
    The script requires the environment variable *SUMO_HOME* to be set [as explained here](../../Basics/Basic_Computer_Skills.md#additional_environment_variables).