I was using GraphHopper 0.6 for long time and it always performances good !
Recently I feed our traffic data so that every road has its own speed. Then I find the results always prefer some small roads instead of one main road, just to save several seconds (I was using FASTEST weighting). So I’m trying to find a way to avoid such routing.
I find TurnCost (and maxTurnCost) feature but from what I understand, it can only add restriction on specific turn, say, one turn is totally forbidden if turnCost > maxTurnCost.
So my questions are:
- Am I correct with the understanding on TurnCost above?
- Is there any way to avoid too many turns, or add penalty for every turn, so that the algorithm will not prefer things like “drive into small streets then go back to main road again”?