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 routing became unable to find routes to almost anything #19836

Closed
2 of 4 tasks
helloyanis opened this issue May 11, 2024 · 10 comments
Closed
2 of 4 tasks

Comments

@helloyanis
Copy link

helloyanis commented May 11, 2024

Describe the routing engine used (required)

  • OsmAnd's in-app offline routing
  • Any online routing provider (YOURS, openrouteservice, OSRM, etc.)

Describe your routing Profile (required)

Public transport, as default with no restrictions.

Describe your start and end points (required)

Start point

50.65152° N, 2.97601° E, "Armand Thiery" clothes shop in Lomme, next to the subway station Saint Philibert on line 2 of the subway.

End point

50.60542° N, 3.13646° E, "Restaurant Universitaire Sully", near the subway station 4 Cantons - Stade Pierre Mauroy, on line 1 of the subway.

Describe the actual route (required)

OsmAnd doesn't find a route

Describe the expected route (required)

  • Take the subway on line 2
  • Switch to line 1 at the Porte des Postes or Gare Lille-Flandres station (the only ones where the two lines connect)
  • Stay on line 1 until the last stop

Here's how Ilévia (the transpor company)'s website calculates it (and how it should be) :

Link to this website (it's in french)

Describe what Maps you used (online or offline) (required)

  • Offline maps offered within the OsmAnd app for download. Downloaded on May 1st 2024
  • Online (tile / raster) maps

Your Environment (required)

OsmAnd Version: 4.6.14
Android/iOS version: 14
Device model: Samsung Galaxy A52S 5G

Anything else? (optional)

It used to work fine in a previous (not sure which) version of OsmAnd, after a very long load time. Now it loads fast but doesn't find anything.

I don't really have an idea of why this happens

Thanks for the help!!

@yuriiurshuliak
Copy link

The bug has been reproduced. When attempting to calculate routes using the Public transport profile directly, regardless of the number of changes and the country of use, an error message "Unfortunately, OsmAnd could not find a route..." is displayed.

Interestingly, if you first calculate a route using the Car profile and then switch to the Public transport profile to calculate the same route, the route is successfully calculated without errors.

OsmAnd~ 4.8.0#2288m, released: 2024-05-13

video_2024-05-13_17-40-59.mp4

@vshcherb vshcherb added the ! label May 13, 2024
@vshcherb
Copy link
Member

Android / iOS needs to be tested

@vshcherb vshcherb added ! and removed ! labels May 13, 2024
@vshcherb vshcherb removed the ! label May 13, 2024
@vshcherb
Copy link
Member

Looks like we didn't reproduce the issue. So on 2nd attempt it always works, it doesn't work on first attempt only if you have public transport default profile

Interestingly, if you first calculate a route using the Car profile and then switch to the Public transport profile to calculate the same route, the route is successfully calculated without errors.

@alxmamaev
Copy link

@vshcherb Im really confused about why is this issue mention as complete when it is still there

@alxmamaev
Copy link

alxmamaev commented May 17, 2024

@vshcherb For example, there many buses between this two points

Железничка станица терминал
Location: geo:45.26519,19.83004?z=20
https://osmand.net/map?pin=45.265188,19.830038#20/45.2652/19.8300
The location was shared with you by OsmAnd

And

Булевар ослобођења - Футошка пијаца
Location: geo:45.25247,19.83690?z=18
https://osmand.net/map?pin=45.252474,19.836899#18/45.2525/19.8369
The location was shared with you by OsmAnd

Even in osmand itself I can find the route by the list the busses passed by this stops, but OSMand itself cannot.
That's fresh installed app from AppStore, there no special needs to test it. Can you please check it?
Im really sad with this, because im paying for osmand and navigation feature just does not work for the last 3 months.

@helloyanis
Copy link
Author

@alxmamaev I agree, it feels like it got closed because there is a workaround to avoid the bug if I understand right?
Yes, switching to another profile and letting it calculate then switching back to public transport works, but that's not how it's intended to be so I think this should still be open
Plus, the workaround also crashes the app once you click on "Details" of any of the results, but let's focus on one problem at a time, I'll open an issue if that's still a thing after this one is fixed (if it does)

@alxmamaev
Copy link

For me switching between profile is no working btw, even if its works, that's not how bugs should be solved

@alxmamaev
Copy link

So @vshcherb I think that issue should be re-open until it actually will fixed. Searching by buses was one of the main factor to choose Osmand over than organic maps, and right now seems that functionality just does not work on many devices.

@vshcherb
Copy link
Member

You're mixing 2 issues up, iOS issue is here osmandapp/OsmAnd-iOS#3695, Android issue is reproduced in a very specific case that probably doesn't make sense to fix

@alxmamaev
Copy link

Ok, got it, my fault

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants