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

Conditional access not getting respected during routing #21950

Open
4 tasks done
wolfy1339 opened this issue Feb 21, 2025 · 5 comments
Open
4 tasks done

Conditional access not getting respected during routing #21950

wolfy1339 opened this issue Feb 21, 2025 · 5 comments

Comments

@wolfy1339
Copy link

wolfy1339 commented Feb 21, 2025

Routing engine

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

Routing Profile

  • Both the Bike and Pedestrian profiles with default settings
  • Enable the Consider temporary limitations routing option

Start and end points

  • Start: 46.88145, -71.47436 (Vélopiste Jacques-Cartier/Portneuf before intersection with an unnamed minor/unclassified road)
  • End: 46.86870, -71.44179 (Just North of intersection between Corridor des Cheminots and Rue de la Méduse)

https://osmand.net/map/navigate/?start=46.881451,-71.474355&end=46.861889,-71.414577

Actual route

The router completely disregards the conditional access tags that are set on way/400207113 and routes using it.

Expected route

For the router to give another route that avoids the closed portion of the cycleway.

I would have expected the route to lok something more like this route:
https://osmand.net/map/navigate/?start=46.881451,-71.474355&end=46.868702,-71.441793&via=46.875507,-71.463565;46.871634,-71.451508&profile=bicycle#17/46.87132/-71.45486

Maps you used (online or offline)

  • Offline maps offered within the OsmAnd app for download. Offline maps February 2025 + latest live updates
  • Online (tile / raster) maps OSM website

Your Environment

OsmAnd Version: 4.9.10
Android version:15
Device model: Google Pixel 7 Pro

Anything else?

https://www.openstreetmap.org/way/400207113

@scaidermern
Copy link
Contributor

no @ (2024 Nov 1-2025 Nov)
The end date has no day, only a month. Maybe OsmAnd can't handle this? 🤔

@vshcherb
Copy link
Member

I think it doesn't support mix of values like no @ (2024 Nov-2025 Nov) is supported I guess

@wolfy1339
Copy link
Author

think it doesn't support mix of values like no @ (2024 Nov-2025 Nov) is supported I guess

I'm having trouble understanding your comment, are you saying that the syntax of the conditional access isn't supported?

Or that this isn't supported in OSMAnd?

@scaidermern
Copy link
Contributor

You specified year month day - year month. Try adding a day to the end date.

@wolfy1339
Copy link
Author

I am aware. There is no more specific date than that currently.

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