Hi, Thanks for a long term accurate answer. I don't know why I wrote right, but I mean left. Sorry for my mistake.
The problem is that you can't turn left from south Sokolska Onto east Michala Grazynskiego. Generally you can't turn left from Sokolska to Michala Grazynskiego in both ways. Graphhoper respect this restriction so OSRM <https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&route=50.26617%2C19.01935%3B50.26674%2C19.01933#map=18/50.26748/19.01898> do. I am going to fix the topic. W dniu sobota, 18 stycznia 2020 15:48:04 UTC+1 użytkownik Xavier napisał: > > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/87478fd1-e8f8-4392-bf84-519e00054010%40googlegroups.com.
