On Sat, Jan 18, 2020 at 04:42:44AM -0800, Damian Badura wrote:
Hi,
Recently I notice that the calculated route is wrong.
Correct route on OSM using Graphhopper:
https://www.openstreetmap.org/directions?engine=graphhopper_car&route=50.26617%2C19.01935%3B50.26674%2C19.01933#map=18/50.26747/19.01898
In Application, the route is wrong, you cannot turn right in the
crossroads:
Which crossroads? Your statement is ambigious given that we can not
read your mind over the internet.
Now, assuming you meant a right turn from north bound Sokolska onto
east bound Michala Grazynskiego (note, I don't have the actual
characters in the names on my keyboard [US keyboard here], so these are
as close as I can easily type the names) then the cause seems to be
that there is no turn restriction in the underlying OSM data for that
crossroad.
The crossroad of east Michala Grazynskiego Sokolska has two turn
restrictions set on it.
#1: only right turn from east bound Michala Grazynskiego to south bound
Sokolska.
#2: no left turn from north bound Sokolska to west bound Michala
Grazynskiego.
Neither of which is a "no right turn" restriction from north bound
Sokolska to east bound Michala Grazynskiego.
So it looks like you have discovered a small amount of missing data in
OSM proper. So if reality on the ground at that intersection is "no
right turn" the fix would be to add the restriction yourself or ask a
local mapper to add the restriction. And once the change flows into
OSMAnd's map files, OSMAnd should then calculate a correct route as
well.
Note, I do not know why graphhopper calculates a different route.
I am not going to change the data myself, because I am half a world
away with no way at all to verify the reality on the ground at that
intersection myself.
--
You received this message because you are subscribed to the Google Groups
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to osmand+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/osmand/20200118144758.GV1403%40d820.dp100.com.