GraphHopper.com | Forum | GitHub | Maps | Blog

Strange routing behaviour


#1

Hi, we have a strange behaviour in a route we got from GH:

This is what we got:


Red line is the given track, green line is the right way

This is what another map service says:

We use the small_truck vehicle.


#2

Currently we consider turn restrictions only when you set ch.disable=true. If you already have this then it is likely a data issue.


#3

we have ch.disable=true set, because of the try to implement restricted areas.

So if we add restricted/blocked areas, the turn-restrictions are always off?


#4

So if we add restricted/blocked areas, the turn-restrictions are always off?

The opposite: only if you do ch.disabled=true then turn-restrictions are considered. So in this case it is likely a missing turn restriction in OSM data at the point where it does a U-turn on road “35”.


#5

aha, okay, thank you. Can one change this and add the restriction? I couldn’t find such in the OSM Editor?!


#6

Yes, you can edit this via iD, will link to a nice documentation from our friends: https://www.mapbox.com/mapping/jp/mapping-for-navigation/adding-turn-restrictions/#mapping-turn-restrictions-with-id-editor