Skip to content
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

public transport router doesn't respect oneway tags, uses wrong bus route #6841

Open
prototype99 opened this issue Apr 18, 2019 · 2 comments
Labels
Observed Needs more clarification, feedback, or research

Comments

@prototype99
Copy link

prototype99 commented Apr 18, 2019

app version: 3.3.7+ live
device model: google pixel 2
Android version: 9 (patch level 5.4.2019)
map version: osmand live united kingdom england 18.4.2019
router: osmand
routing profile: public transport
from: sayer court (PE2 5FN)
to: headmasters peterborough
issue:
the correct bus is bus 1: orton > werrington/millfield, router uses bus 1: werrington > orton. perhaps as a result of trying to make the bus route go the opposite direction it doesn't respect the peterborough bus station's oneway roads

@vshcherb
Copy link
Member

vshcherb commented May 4, 2019

There are 3 relations of that bus, I couldn't catch which relation is missing stop or have extra stop
https://www.openstreetmap.org/relation/2578822
https://www.openstreetmap.org/relation/8524218

It might be the error is in the data itself.

@vshcherb vshcherb added the Observed Needs more clarification, feedback, or research label May 4, 2019
@prototype99
Copy link
Author

prototype99 commented May 6, 2019

well, you have the citi 1 bus (https://www.openstreetmap.org/relation/2578822), which runs the routes 1 orton (https://www.openstreetmap.org/relation/8524218), 1 werrington (https://www.openstreetmap.org/relation/8524216) and 1 millfield (https://www.openstreetmap.org/relation/9396783).

1 orton is the southbound part, and 1 werrington and 1 millfield are the northbound part (1 millfield is effectively 1 werrington except it ends at the bus depot). at the end of 1 werrington the bus becomes 1 orton, and at the end of 1 orton it becomes 1 werrington, or if it needs to go into the bus depot it becomes 1 millfield.

alternatively, i have this official route map which may or may not help with understanding the problem.

as for the fact it's hard to troubleshoot when there's three different relations to check, i do plan to soon explore ways of simplifying the troubleshooting as there are in fact three more route variations that i have not yet mapped that all reuse the same route segments which feels like a nightmare to maintain unless it's made simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Observed Needs more clarification, feedback, or research
Projects
None yet
Development

No branches or pull requests

2 participants