Coder Social home page Coder Social logo

Comments (5)

vshcherb avatar vshcherb commented on July 18, 2024

Don't see problems on web version https://osmand.net/map?start=49.309610%2C18.117356&end=49.310883%2C18.099890&mode=bicycle#16/49.3090/18.1075

from osmand.

mdykierek avatar mdykierek commented on July 18, 2024

It is easily reproducible in the area as a few of these roads are restricted for motor vehicles. Here are my results in the App. Maybe web version is a different piece of routing software:

As a bonus I got several crashes when trying to setup the route with GPS off and switching from car profile (the default) to bicycle when trying to select starting point on map.

exception.log

from osmand.

DmitryAlexei avatar DmitryAlexei commented on July 18, 2024

OsmAnd~ 4.5.0#367m, released: 2023-07-10
The same result as in the web version. Private access disabled.

Please check, you may have specified vehicle routing in the navigation settings for the bicycle profile.
https://osmand.net/docs/user/navigation/guidance/navigation-settings#navigation-type

from osmand.

mdykierek avatar mdykierek commented on July 18, 2024

I had to change my phone and now it seemed harder to reproduce, so the theory with wrong navigation profile is plausible unlikely - I actually managed to generate exact same result as in my previous comment.

But I nailed it. The routing is "worse" because of elevation data being enabled rather than the private access.

There is definitely is something wrong with the interpretation of "private" access and the dialog notifying about it.

  1. Navigation from this way: https://www.openstreetmap.org/way/375793921 to the adjacent way: https://www.openstreetmap.org/way/109177284 causes the "private" access dialog. It is marked private but for motor_vehicle only. The same is true for next segment of cycle route: https://www.openstreetmap.org/way/674286868.
  1. The dialog reads "Allow using private roads for this trip?" but it does not seem to care a lot if I answer Yes or No for bicycle.

  2. For Android Auto the dialog appears on the phone and waits for input so that the route does not start. Is it possible to display the choices on AA also?

Bottom line is - routing is most probably affected by elevation data not the private access. The "private" road dialog is definitely broken and needs both fixing and improvement (2 and 3).

from osmand.

DmitryAlexei avatar DmitryAlexei commented on July 18, 2024

Bicycle routing: OsmAnd reads tag motor_vehicle=private (taginfo) and proposes to grant permission to use such a road.

It is important to note, that
1.destination point should be located on the route tagged with motor_vehicle=private. If the destination point is after the segment with this tag, the routing is built without warnings.
2. When using replace destinationa point there is no warning.
3. When destination point near the road tagged motor_vehicle=private, may be no warning.

1. 2. 1. ok 2. ok
  1. OSM, OsmAnd Map
  2. OSM, OsmAnd Map

Also tested on https://www.openstreetmap.org/way/51784728 and https://www.openstreetmap.org/way/255036528. Same result, warning appears.

from osmand.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.