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

Wrongly car navigation routing over path, badly bicycle routing over grass #20117

Open
SLMapper opened this issue Jun 17, 2024 · 5 comments
Open
Labels

Comments

@SLMapper
Copy link

SLMapper commented Jun 17, 2024

Description

highway=path is clearly not for car navigation, but still is wrongly chosen by Osmand.

highway=track, tracktype=grade5, surface=grass and highway=path, surface=grass is clearly not for bike, but still is wrongly chosen by Osmand, when there ways of better surface around it.

Steps to reproduce

Both appeared in longer route (~30 minute each). Only showing the relevant part here:

Actual result

  1. Invalid road is chosen
  2. Road with poor surface was chosen

Expected result

  1. Chosing a valid route
  2. Chosing a route with conditions matching the vehicle
    (there is a connection via a tracktype=grade1 and tracktype=grade2, which is a bit longer but much more fitting for a bike)

Your Environment (required)

OsmAnd Version: OsmAnd~ 4.7.10
Android/iOS version: -
Device model: -
Crash-Logs: -

Latest map updates of "Baden-Württemberg". Happens with and without live updates enabled.
@yuriiurshuliak
Copy link

yuriiurshuliak commented Jun 18, 2024

The bug was partially reproduced. Initially, I attempted to reproduce the issue by building navigation for a car, where the navigation is built exactly as specified by the user. Following that, I attempted to build navigation for a bicycle, but the method for bicycle navigation is currently different.

Additionally, car navigation on the Web version is constructed differently compared to the app, despite Live updates.

Here are the relevant links for car navigation on OSM and the Web version:
Car navigation on OSM
Car navigation on the Web version

Here are the links for bicycle navigation on OSM and the Web version:
Bicycle navigation on OSM
Bicycle navigation on the Web version

OsmAnd~ 4.8.0#2528m, released: 2024-06-18

@yuriiurshuliak
Copy link

The bug has been reproduced. In the app, when using the reset car profile, the navigation wrongly routes through bike paths, even with live updates. On the Web version, the navigation works correctly and takes a detour. However, if you enable the "Short way" option on the Web version, it also incorrectly routes through bike paths, just like the app.

Bicycle navigation is now working correctly.

Here is a link to the web version: Car navigation on the Web version

OsmAnd~ 4.8.0#2568m, released: 2024-06-24

@SLMapper
Copy link
Author

Thank you very much for reproducing the issue with car navigation.
I was also able to reproduce the bicycle issue of routing over a highway=path, surface=grass using "short way" on the web version.

@SLMapper
Copy link
Author

SLMapper commented Jul 2, 2024

Another bike example I experience yesterday even without "Short way enabled"
grafik

where OsmAnd unexpectedly

@SLMapper
Copy link
Author

SLMapper commented Jul 2, 2024

Another crazy bike example with "Short way" enabled, where

@DmitryAlexei DmitryAlexei added the ! label Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants