You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2022-04-23 16:15:47

andrixnet
New Member
Registered: 2022-04-23
Posts: 1

OsmAnd routing problem or map problem?

Hi,

I recently took a trip from Bucharest to Craiova and back and used OsmAnd to guide me.
Roughly half way I stopped at a gas station at the southern end of Pitesti.

I was at the OMV gas station (mid-lower-right here https://www.openstreetmap.org/#map=18/44.82571/24.91486 ). As I exited the gas station through the western exting, the natural way to proceed towards Craiova would be to go north, enter the roundabout and exit through the second exit, westwards.
(green line in attached snapshot)

OsmAnd routed me towards the main road SE, make a U-turn and then proceed through the roundabout. This was completely wrong.
(red line in attached snapshot).

I made a screenshot of the details of how the ways are drawn for this place on openstreetmap.org (I've edited some features before), but I won't make changes without asking first.
Is this a map issue or a OsmAnd routing algorithm issue?

Why did OsmAnd route me along the red path instead of green here?

If it's an OsmAnd problem, IMO it should be fixed. (OsmAnd support contacted)
If it's a map issue, how to best fix it?

pitesti-sud.png

Offline

#2 2022-05-12 16:35:14

Strubbl
Member
Registered: 2020-08-27
Posts: 150

Re: OsmAnd routing problem or map problem?

You can test it directly on osm.org if it is a map issue

Offline

#3 2022-05-19 13:03:00

Maarten Deen
Member
Registered: 2010-05-20
Posts: 490

Re: OsmAnd routing problem or map problem?

There doesn't seem to be a problem now. Maybe a problem existed when the map for that area was created. You should check if there is an update for the map available in OSMAnd and if not check again next month.
That said: I have seen OSMAnd take strange routes or detours that could not be explained by the map data and reporting this never resulted in a message like "yes, the algorithm is wrong, we will fix it".

If you want to report it, there is a Github and a google groups.

Offline

#4 2022-05-26 07:55:19

richadam
New Member
Registered: 2022-05-26
Posts: 1

Re: OsmAnd routing problem or map problem?

I've done some hobby development with OSM, and it was really hard to use. Also, if your app is going to generate a lot of queries, you'll have to run your own servers, or buy service from someone who does.

Offline

#5 2022-05-26 16:12:45

kucai
Moderator
Registered: 2011-11-08
Posts: 354

Re: OsmAnd routing problem or map problem?

I know why. Osmand is preferring the higher tier highway instead of the shorter path.

This will also manifest at a T junction with a traffic light, where the bottom of the T is the lower tier highway (assuming there are highway links going down the T). If you try to go from left to right (or vice versa), the router will make you go down the highway link, then up the other link just to bypass the traffic light at the junction.

* this is why I disagree with the standard that highway link should always be set the higher tier highway that it connects to. Used to be IIRC, the highway links are decided by the condition of the link (width, etc), but then they changed. But water under the bridge now..

Last edited by kucai (2022-05-26 16:17:26)

Offline

Board footer

Powered by FluxBB