- Python 2
- SUMO
-
Generate
.net.xmlfile from.osmby issuing
netconvert --osm-files <osm file name>.osm -o <output file name>.net.xml -
Convert the
.net.xmlfiles to.jsonwith randomly generated traffic by
cd Vis && python Vis/net_to_json.pymaking sure the path to the.net.xmlfile is adjusted in the code.
In subsequent steps, the edge id may be referred fromVis/out.json. -
Generate routing tables for hotspots using
python table_gen.pymaking sure the directory has been switched toVis.
The edge ids for hotspot would be demanded fromstdinduring execution. -
Generate path by issuing
python path_predict.py
The edge ids for source and destinantion would be demanded fromstdinduring execution.
The path would be generated inout_path.
A Flask based model for the path planner is present as ~/back.py.
- Python 2
- Postgres
- psycopg2
Details to be updated.