osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.48k stars 996 forks source link

cycleway:both=share_busway is too less used #20089

Closed schenklklopfer closed 1 month ago

schenklklopfer commented 1 month ago

Describe the routing engine used (required)

Describe your routing Profile (required)

Routing Profile: bike, no restrictions

Describe your start and end points (required)

https://osmand.net/map/navigate/?start=48.370671,10.901020&end=48.369521,10.892373&profile=bicycle#17/48.37050/10.89544

I just want to cycle up the road. There is a nice cycleway on the whole road, but OSMand is planning a massive detour.

Describe the actual route (required)

Both the app and https://osmand.net/map planes a detour here image
image

Describe the expected route (required)

Route as the official openstreetmap.org page route, in all three engines: image

https://www.openstreetmap.org/directions?engine=graphhopper_bicycle&route=48.37065%2C10.90094%3B48.36982%2C10.89318#map=18/48.37027/10.89709 https://www.openstreetmap.org/directions?engine=fossgis_valhalla_bicycle&route=48.37065%2C10.90094%3B48.36982%2C10.89318#map=18/48.37027/10.89712 https://www.openstreetmap.org/directions?engine=fossgis_osrm_bike&route=48.37065%2C10.90094%3B48.36982%2C10.89318#map=18/48.37030/10.89706

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

Your Environment (required)

OsmAnd Version: 4.7.6.3 | 4.7.7.3 (via Testflight)
Android/iOS version: iOS 17.4.1 | iOS 17.5.1
Device model: iPad 7th gen | iPhone 13 Mini

Anything else? (optional)

If I choose a more direct startpoint the routing is correct!
https://osmand.net/map/navigate/?start=48.370539,10.897890&end=48.369521,10.892373&profile=bicycle#18/48.36999/10.89403
image
image

I think this is related to a bus stop. This bus stop is directly on the cycleway. This is correctly mapped in OSM data with "cycleway:both=share_busway": https://www.openstreetmap.org/way/589530816

This Tag is correctly recognized in OSM, support has been added here: https://github.com/osmandapp/OsmAnd-resources/pull/861

So maybe this is an issue with "priority" of this Tag?
If the way is short and direct enough the way is used, if it is longer a detour is planned.

yuriiurshuliak commented 1 month ago

The bug has been reproduced. To reproduce this issue, choose the bicycle profile and attempt to create a route using the provided coordinates. Instead of following the bicycle path, the route takes a detour.

You can view this in the web version here.

Web version OSM
xmd5a2 commented 1 month ago

Fixed. Penalties for traffic signals were slightly lowered. No new maps required.

DmitryAlexei commented 1 month ago

now OsmAnd web routing is the same as on OSM

andoird ios balanced ios shortest routes