Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Import real time traffic data into Sumo

PS: pull requests are welcome: https://github.com/eclipse/sumo/issues/6613

Am Do., 17. März 2022 um 08:58 Uhr schrieb Jakob Erdmann <namdre.sumo@xxxxxxxxx>:
Hello,

I'd recommend routeSampler.py (https://sumo.dlr.de/docs/Tools/Turns.html#routesamplerpy) instead of the calibrator approach because it is simpler and more robust (The page https://sumo.dlr.de/docs/Simulation/Calibrator.html#building_a_scenario_without_knowledge_of_routes_based_on_flow_measurements was a bit outdated).

There is currently not tool in sumo that maps lon,lat data into the required edgeData input format.
For small scenarios, you could try convert the lon,lat data into sumo-POIs (i.e. with https://sumo.dlr.de/docs/Tools/Xml.html#csv2xmlpy) and then define the needed edgeData input file visually in netedit.
For larger scenarios, you need to write your own import routine but you can use python libraries provided by sumo to automate the mapping (https://sumo.dlr.de/docs/Geo-Coordinates.html)

regards,
Jakob


Am Mi., 16. März 2022 um 22:17 Uhr schrieb Petros Br <petrosbrimos@xxxxxxxxx>:
Hello,

My question might be generic, but i 'd appreciate a little help or just a guidance of my next moves. I' ve downoladed raw data from traffic sensors located in the city of Athens. Those sensors provide information about hourly flow (counted cars within an hour) and average speed. I also have a document with the long and lat of every sensor. Those files are at csv format. Is there any way of importing those data into Sumo in order to get visualization of traffic flows in a specific date? I think the sumo tutorials suggest calibrators. 

Thanks for your time.

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top