-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Infinity loop in those bus routes whats contain a bus stops at twice #15449
Comments
Hi, could it be similar to this? I just stumbled on it while searching for a different issue and I thought these can be related, feel free to correct me, if I'm wrong. |
I think the two problems are not the same. But in this issue, however, the bus route viewer cannot identify the bus stop if it appears twice in the route. The viewer thinks it is there for the first time. But it is the second time. |
Stop Berettyóújfalu, autóbusz-állomás is present in Berettyószentmárton => Berettyóújfalu TESCO twice. |
Yes the bus stop present in the route at twice. But this is the bus's timetable. The bus stopping at twice in the route. This is not problem! |
Need to fix in iOS also |
OsmAnd~ 4.6.0#489m, released: 2023-07-26 video_2023-07-27_18-30-14.mp4 |
🐞 routing report
Routing engine
Routing Profile
BrowsingStart and end points
The bus route: https://www.openstreetmap.org/relation/14616287#map=14/47.2179/21.5378
If I open the bus route in OsmAND and stepping the stations with the next button, OsmAND get into an infinite loop if a bus route includes a bus stop at twice, even though the timetable actually says it stops at that bus stop at twice in a single outward journey.
1st bus stop => 2nd bus stop => 3rd bus stop => ... => 9th bus stop (Berettyóújfalu, bus station) (first) => 10th bus stop (hospital) => 11th bus stop (Berettyóújfalu, bus station) (second, again) and at this point osmand don't jump to 12th bus stop when i click the next button. Osmand get into trouble and infinite loop 10th bus stop <=> 11th bus stop he never jump to 12th bus stop.
The bus stops are not incorrectly included twice in the route. This is the correct timetable.
Screen-20221009-114603-360x480.mp4
Actual and expected routes
Is this a regression?
No🌍 Your Environment
OsmAnd Version: v4.2.7 (F-Droid)
Device and Android/iOS version:
Android 9
Maps used (online or offline):
Anything else relevant?
The text was updated successfully, but these errors were encountered: