Thank you Jakob,
I am sure your suggestions will cover each step of my work. Thanks a lot for them.
As I am new to using SUMO, it would clarify the input flow if I could take a look at any of the project code base that involves trip file as input.
Please provide any repository links that has a similar input.
Thanks in advance,
Akhil
From: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx>
On Behalf Of Jakob Erdmann
Sent: March 6, 2020 3:45 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] Shortest Path for OD pair database and heatmap
you can prepare your input in the form
<trip id="RUNNING_NUMBER" fromLonLat="..." toLonLat="..." depart="0"/>
Speed up your routing by using duarouter option --bulk-routing
The resulting edgeData file (number of times each edge was used) can be visualized directly in SUMO-GUI:
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
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
|