see this minimal example for routeSampler use:
https://github.com/eclipse/sumo/blob/master/tests/tools/turndefs/routeSampler/edgedata/input_edgedata.xml
There is not much structure to it. Intervals describe the time range in
seconds (interval id is arbitrary), the edge attribute name of 'count' is
arbitrary.

Am Fr., 19. Juni 2020 um 14:25 Uhr schrieb Kaubruegger, Benedikt <
[email protected]>:

> Thank you for your answer.
>
>
>
> I am still not sure about the exact syntax for Edge-data files, because i
> could only find the genereated output here:
>
>
> https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html
>
>
>
>
>
>
>
> Is there any other description for edge-data files?
>
>
>
> Regards,
>
> Benedikt
>
>
>
> *Von:* [email protected] <[email protected]> *Im
> Auftrag von *Jakob Erdmann
> *Gesendet:* Freitag, 19. Juni 2020 13:07
> *An:* Sumo project User discussions <[email protected]>
> *Betreff:* Re: [sumo-user] Routing based on traffic density
>
>
>
> Yes. routeSampler should work for this.
>
> Edge-data files can be created manually with netedit and also from
> text-based formats of detector data.
>
> However, if your density data comes from a database or some other kind of
> format the easiest solution is to write a small data-transformation script.
>
> You only need to set on count attribute per edge and time interval. and
> the name of the attribute can be set with a routeSampler option.
>
>
>
> regards,
>
> Jakob
>
>
>
> Am Fr., 19. Juni 2020 um 12:37 Uhr schrieb Kaubruegger, Benedikt <
> [email protected]>:
>
> Hello,
>
>
>
> I have a question regarding edge based routing.
>
> I have access to traffic density data on edge granularity in hourly steps
> and would like to know if there is an implementation in SUMO,
>
> which generates routes from this kind of data or upscales a subset of
> routes (I can get around 5% of the actual routes) to derive the wanted
> density?
>
>
>
> I thought about using routeSampler.py, which uses routes and edge-count
> data as input parameters
>
> Is this an attempt, which should work?
>
>
>
> If yes:
>
> I couldn’t find information about an edge-count data file (
> *--edgedata-files*), which isn’t dumped by SUMO, but just created from
> traffic density data.
>
> Is  it possible to create such files just from density data?
>
>
>
> The information i gathered to get an understanding of the routeSampler.py
> is mostly based on these documentation pages:
>
>
> https://sumo.dlr.de/docs/Demand/Routes_from_Observation_Points.html#introduction
>
>
> https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html
>
> https://sumo.dlr.de/docs/Tools/Turns.html#turn_count_data_format
>
>
>
> Thank you for your help.
>
> Regards,
>
> Benedikt Kaubrügger
>
>
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to