Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Question about busStop duration

Any stop attributes such as 'until' and 'duration' given as duarouter input (e.g. in trips) will be preserved in the output.  The real question is, where does your stop data with duration etc come from in the first place?
A similar issue is solved by the script sumo/tools/ptlines2flows.py when importing public transport data from OSM. The OSM records only contain stop positions and stop sequences served by public transport lines. The script adds a default stopping duration and generates schedules. See http://sumo.dlr.de/wiki/Tutorials/PT_from_OpenStreetMap

regards,
Jakob

Am So., 11. Nov. 2018 um 09:07 Uhr schrieb <michel.souweine@xxxxxxx>:
Hello
I would be grateful to kwon how to add stop duration on a route file created with duarouter
An example of such a route is given by sumo on "Letting Vehicle stop at a busStop" but it's a route written by hand....and my route file has several hundreds records....
I might write a python program with input 1/a route file, 2/ a bus_stop_duration file (written by hand), 3/a type(s)_of_vehicle_to_apply  to add the appropriate busStop duration on selected records but it might perhaps be a more clever way ?
Thanks so much for any help
Michel Souweine


_______________________________________________
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

Back to the top