graphhopper icon indicating copy to clipboard operation
graphhopper copied to clipboard

no_u_turn is ignored

Open easbar opened this issue 3 years ago • 5 comments

https://discuss.graphhopper.com/t/curbside-right-and-turning-circles/7232/8

easbar avatar May 03 '22 11:05 easbar

This is because the global u-turn costs overrule those set in the turn cost storage:

https://github.com/graphhopper/graphhopper/blob/9f429cbc13f4b60923e08385b8d4b00df41eae38/core/src/main/java/com/graphhopper/routing/weighting/DefaultTurnCostProvider.java#L68-L70

... but that does not really make any sense? I think I put this comment there, but only because historically we always did it like this, probably because at one point we had several different 'u-turn' TraversalModes...

easbar avatar May 03 '22 11:05 easbar