-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bus stop additional file in Routesampler #12901
Comments
routeSampler.py is not compatible with public transport as it simply ignores any stops in the input. While this might be changed with little effort, there is also a conceptual gap: routeSampler randomly distributes traffic in each measurement interval whereas public transport runs according to fixed and regular schedules. If you can describe the exact use case and expectations for the generated scenario, I might have an idea on how to accomplish them with existing tools. |
Thanks @namdre, It's not possible to use bus stop with routesampler now. But is it possible to generate flow from counting-data inside routesampler? And then, taking the bus.rou.xml (with flow not vehicle), and to implement a python loop adding an xml line for each lane corresponding to the bus stop. Does it make sense? |
You could add the stops in post processing (i.e. with python). However, now you can also load routes with stops and routeSampler will carry them over to the output if you set option --keep-stops. Note, that the stops must be child elements of the route like this:
rather than
PS: I didn't initially make the connection with the public transport in Tana. There it makes a lot of sense to preserve the stops since they don't follow a schedule anyway. |
Thanks Jackob, |
yes |
1 similar comment
yes |
Using
routesampler
to generate route file and asking how to add a bus stopHi [@namdre,
I'm asking for help. I use routesampler to merge public transport traffic from turn-count data and manual embedded route. It works well but I'm not able to stop my buses at the bus stop.
It works with the manual embedded route but when I used to add the code line inside the routed vehicles file It doesn't work anymore.
This work:
This doesn't:
So I have two questions:
1- Does this error occured because of the incrementation of <stop busstop inside <route?
2- Is it possible to let routesampler add automatically for each bus a stop or should we add it manually?
Thanks,
SUMO-version:
SUMO 1.15
operating system:
Windows 10
The text was updated successfully, but these errors were encountered: