mapsme / omim

🗺️ MAPS.ME — Offline OpenStreetMap maps for iOS and Android
Apache License 2.0
4.57k stars 1.15k forks source link

Routing between two cities within a country incorrectly routes through another country #9659

Open bfirsh opened 5 years ago

bfirsh commented 5 years ago

Routing between Osh and Bishkek in Kyrgyzstan incorrectly routes through Uzbekistan, even though there is a main road between the cities within the country.

It seems like the cost associated with a border crossing is much lower than it should be. In this case, it would add about a week to the journey, to apply for and receive a visa! Even for quicker borders, it seems like the cost is too low, because the journey within the country is a fairly similar distance.

More generally, it would be useful to have an option to avoid crossing borders, in the case where a route through another country would be quicker but it would be impossible to cross the border for visa reasons.

berolinux commented 5 years ago

Probably in order to be really smart, we need to teach OSM about different types of borders (e.g. crossing a Schengen border is ok even if it just takes 100m off the distance, crossing a "show your passport" border is ok if it takes a couple of kilometers off, and crossing a border that usually requires a visa should be avoided.

On a similar note, it would be useful to have options like "Use highways in Switzerland, but avoid them in Austria" (and vice versa) for people who have one country's, but not the other country's, permit.

matkoniecz commented 5 years ago

Probably in order to be really smart, we need to teach OSM about different types of borders (e.g. crossing a Schengen border is ok even if it just takes 100m off the distance, crossing a "show your passport" border is ok if it takes a couple of kilometers off, and crossing a border that usually requires a visa should be avoided.

This is a relatively simple database, I see no huge benefit to add tags that noone will use.

Slawek234 commented 5 years ago

This is a relatively simple database, I see no huge benefit to add tags that noone will use.

It is possible that these can be rare cases. Maybe it would be worth adding an option to the user blocking selected roads in his navigation?