Hello,

I want to forbid u-turns during the routing.
I hence played with the u_turn_penalty parameter in profiles/car.lua

      u_turn_penalty                 = 20,

then reconstructed the osrm objects using osrm-extract and osrm-contract.
I tried values 0, 20, 240 and 1000. The routing clearly changed, but I keep
on getting u-turns. For higher parameters I even get more u-turns.

My understanding was that the higher the parameter, the less u-turn one
should have.

Did I understand correctly? How can I forbid u-turn then?

Regards,

Xavier

-- 

*Xavier Prudent *

*Data Scientist  - Data Mining - Machine Learning*

Web    :* www.xavierprudent.com <http://www.xavierprudent.com>*
Tel (Québec)      : (514) 668 76 46
Skype : xavierprudent
_______________________________________________
OSRM-talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to