Tools/District

generated on 2015-09-02 00:02:07.961394 from the wiki page for Tools/District for SUMO 0.24.0

districts2poly.py

Transform districts into polygons for visualization in SUMO-GUI. Using the options --hue, --saturation, --brightness the colors can be controlled. Each of these options supports values from [0, 1] as well as the special value random.

<SUMO_HOME>/tools/districts2poly.py myNet.net.xml myDistricts.rou.xml
Caution:
Only districts using the attribute edges are currently supported

edgesInDistricts.py

Parsing a number of networks and taz (district) files with shapes this script writes a taz file with all the edges which are inside the relevant taz.

 <SUMO_HOME>/tools/edgesInDistricts.py -n myNet.net.xml -t myDistricts.rou.xml

Call option --help for additional details.


This page was last modified on 21 August 2015, at 09:05.