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

Bicycle routing: Strange detour #20863

Open
2 of 4 tasks
scaidermern opened this issue Sep 17, 2024 · 8 comments
Open
2 of 4 tasks

Bicycle routing: Strange detour #20863

scaidermern opened this issue Sep 17, 2024 · 8 comments

Comments

@scaidermern
Copy link
Contributor

scaidermern commented Sep 17, 2024

Routing engine

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

Routing Profile

Bicycle, balanced, no live data

Start and end points

Kenmare, Ireland

Start: 51.88060, 9.58480
End: 51.87994, 9.58320

https://osmand.net/map?start=51.880600%2C-9.584804&end=51.879944%2C-9.583196&profile=bicycle#18/51.880665/-9.583893

Actual route

Expected route

Turning right and going straight through (works with a via point, works with shortest route, doesn't work in balanced mode, works on OsmAnd website even in balanced mode).

Maps you used (online or offline)

  • Offline maps offered within the OsmAnd app for download.
  • Online (tile / raster) maps

Your Environment

OsmAnd Version: 4.8.6
Android version: 10
Device model: Galaxy S9

Anything else?

Not sure if this is a bug or expected behavior in balanced mode. Looks very suspicious / strange, nobody would choose this route.

@yuriiurshuliak
Copy link

The bug was not reproduced. To reproduce , I created navigation using the provided coordinates: start at 51.88060, -9.58480, and finish at 51.87994, -9.58320, with the bicycle profile and tried both Balanced and Shorter riding styles.

The navigation was built correctly without any detours, both in the app and in the web version. I recommend updating your maps and resetting your profile settings by going to Menu → Settings → App profile (Bicycle) → Reset to default.

Here’s the link to the web version for reference: OsmAnd Navigation.

OsmAnd~ 4.9.0#3212m, released: 2024-09-18

@scaidermern
Copy link
Contributor Author

I recommend updating your maps and resetting your profile settings by going to Menu → Settings → App profile (Bicycle) → Reset to default.

My map is up to date, the app is the latest stable version and I can reproduce this with a freshly created bicycle profile.

@vshcherb
Copy link
Member

@scaidermern live updates?

@vshcherb
Copy link
Member

cycleway:both = no https://www.openstreetmap.org/way/24231331

@vshcherb
Copy link
Member

@scaidermern
Copy link
Contributor Author

scaidermern commented Sep 18, 2024

@scaidermern live updates?

I've tried with and without, the result is the same.

cycleway:both = no https://www.openstreetmap.org/way/24231331

This is a physical property, not a legal one. Does it affect the balanced routing?

The other roads involved also don't have dedicated cycleways.

@vshcherb
Copy link
Member

For safety it's deprioritized secondary vs tertiary

@scaidermern
Copy link
Contributor Author

For safety it's deprioritized secondary vs tertiary

That makes sense. But crossing a secondary is probably as dangerous as riding a short stretch along it. Are there penalties for crossing roads that are of higher priority than the current one?

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

3 participants