osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.72k stars 1.03k forks source link

Wrong routing with multipolygons #8672

Open ronnystandtke opened 4 years ago

ronnystandtke commented 4 years ago

I am using OsmAnd 3.6.3 on a Samsung Galaxy S5 with LineageOS 16 (Android 9) with offline maps and in-app offline routing and the pedestrian routing profile.

Today I had to find a route around the University of Bern (Switzerland) and noticed that OsmAnd suggested some really strange routes. After taking a closer look at the map data it seems like OsmAnd ignores multipolygons (like the Einsteinterasse, a large terrace in front of the University) when calculating routes.

You can reproduce the issue by navigating from here: https://osm.org/go/0CZwnA12S?m= to there: https://osm.org/go/0CZwnA76J?m=

I expected OsmAnd to calculate a short, direct path but instead it proposes to take a walk around the whole area, see this screenshot (taken on another tablet because of better screen space, the Einsteinterasse is on the upper right hand side): Screenshot_20200314-001156

Thanks again for this great app and fixing all these nasty routing bugs.

scaidermern commented 4 years ago

Duplicate of #8438.

You can add artificial footway to OSM to fix this routing.This is rather suboptimal but will also help other routing engines.

hakuchi commented 4 years ago

check also #2586