Hello SUMO Community,
I am trying to use to SUMO for an urban planning project, involving generating a heatmap (normalized traffic usage statistics) for each segment of road network, based on Origin-Destination
Pairs (database of Latitude-Longitude) traffic data.
Below is how I am trying to get it done.
- Find optimal route from Origin(O) to Destination(D) through the network.(could be just origin node to destination node, expected output to contain Segment to Segment routing instruction as path, like <route id="route01" edges="D2 L2 L12 L10 L7 D7"/>)
- Append each route generated in a trips file.
- Analyse the above trip file (Step. 2) to score each segment of my network based on the number of time it was used in shortest routes.
- Normalize the total number of trips on each segment to rank the segments from most used to least.
- Plot a heat map for results from Step.4 (Any graphical tool suggestions ?)
Any leads/examples/tutorials to carry out any of the steps mentioned above would be of great help. Many thanks in advance.
I could find among documentations that SUMO uses Dijikstra algorithm based router to calculate the shortest route, but I failed to find the relevant information on how to implement
this. An example function call to shortest path router with Origin and Destination as inputs would be greatly appreciated.
Regards,
Akhil Raj Kizhakkan
Research Student
Concordia University
|