<div dir="ltr"><div>Dear OSRM Community, Hi Dennis,</div><div><br></div><div>We are on the way to integrate OSRM for a hiking & cycling application in Switzerland, by defining adapted profiles for these use cases.</div>
<div><br></div><div>We observe a unexpected behaviour - at least unexpected for bicycle and hiking routes. I'm using iBikeCPH to illustrate the example, but the same problem can be seen on <a href="http://project-osrm.org/">http://project-osrm.org/</a> as well.</div>
<div><br></div><div>In difference to cars, bicycles in most cases and pedestrians for sure can turn immediatly on a road without turn restrictions.</div><div><br></div><div>Given I want to cycle from one S-Station to another in Copenhagen, with a stopover at a friend's place at Bellmansgade: <a href="http://www.ibikecph.dk/en#!/x65wv.7hmgt/x663x.7hfew/x65x8.7h71w">http://www.ibikecph.dk/en#!/x65wv.7hmgt/x663x.7hfew/x65x8.7h71w</a></div>
<div><br></div><div>Since I'm cycling / walking, it does not make any sense to go to the very end and back again in the small street - in reality I would turn immediately.</div><div>The deviation also adds additional time (2mins) and distance to my route.</div>
<div><br></div><div>The viapoint seems to be slighlty on the dead end way. Is there any option / possibility to avoid OSRM chosing a deviation, if the via point is just slightly (say some few meters) into to the street?</div>
<div><br></div><div>I guess it would be depending on the profile - maybe there is a config in the LUA that could be used while calculating the network?</div><div><br></div><div>All I saw after quite some searching was using turn restriction tags in OSRM (cf. [1] and [2]). As far as I read, my problem is different and rather basic: allowing turns at any time for biking / hiking profiles (and, maybe in a second step, restrict them according to OSM tags, for bicycles).</div>
<div><br></div><div>Any opinions / suggestions / info about ongoing devs for that?</div><div><br></div><div>Best regards,</div><div>Elisabeth</div><div><br></div><div>[1] <a href="https://github.com/DennisOSRM/Project-OSRM/issues/167">https://github.com/DennisOSRM/Project-OSRM/issues/167</a></div>
<div>[2] <a href="https://github.com/DennisOSRM/Project-OSRM/issues/477">https://github.com/DennisOSRM/Project-OSRM/issues/477</a></div>
</div>