Difference between revisions of "Tools/Import/OSM"

From Sumo
Jump to navigation Jump to search
m (formatting)
Line 1: Line 1:
 
__FORCETOC__
 
__FORCETOC__
 
=server.py=
 
=server.py=
This script opens a webbrowser and allows selecting a geographic region on a map. It also provides some controls for specifying random data for differnt traffic modes.
+
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 'Export'-button, the simulation network for the selected area is build based on [[Networks/Import/OpenStreetMap|OSM data]], random demand is generated and [[SUMO-GUI]] is started.
+
When clicking the 'Generate'-button, the simulation network for the selected area is build based on [[Networks/Import/OpenStreetMap|OSM data]], random demand is generated and [[SUMO-GUI]] is started.
 
Call:
 
Call:
  {{SUMO}}/tools/import/osm/server.py
+
  python {{SUMO}}/tools/import/osm/server.py

Revision as of 07:00, 16 September 2015

Contents

server.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, random demand is generated and SUMO-GUI is started. Call:

python <SUMO_HOME>/tools/import/osm/server.py