[OSRM-talk] Turning with bicycle / for pedestrians

Emil Tin ZF0F at tmf.kk.dk
Fri Jul 4 10:24:52 UTC 2014

Hi Elisabeth,

The issue with the example route you send is not turn restriction. For our service, we disabled all turn restrictions. As you point out they’re not really relevant  for cyclist. Even at intersections, you can always just become a ‘temporary pedestrian’ by pushing your bike.

The problem with the example route is that OSRM doesn’t allow u-turns at via points. See https://github.com/DennisOSRM/Project-OSRM/issues/100 and https://github.com/DennisOSRM/Project-OSRM/issues/729.

Note: For ibikecph.dk we’re running custom branch of OSRM: https://github.com/ibikecph/Project-OSRM/tree/edge.  It shows what parts of the route you need to push the bike, and also parses/prioritizes bike routes. I hope these things can be added back to main line OSRM.

Med venlig hilsen

Emil Tin
IT- og Processpecialist
Teknik- og Miljøforvaltningen
Byens Anvendelse

Njalsgade 13 Vær. 118
Postboks 380
2300 København S


2369 5986


2369 5986


zf0f at tmf.kk.dk<mailto:zf0f at tmf.kk.dk>



[cid:image001.gif at 01CF9782.0D6FFF20]<http://www.sharingcopenhagen.dk/>

Fra: Elisabeth Leu [mailto:elisabeth.leu at camptocamp.com]
Sendt: 4. juli 2014 09:36
Til: OSRM-talk at openstreetmap.org
Emne: [OSRM-talk] Turning with bicycle / for pedestrians

Dear OSRM Community, Hi Dennis,

We are on the way to integrate OSRM for a hiking & cycling application in Switzerland, by defining adapted profiles for these use cases.

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 http://project-osrm.org/ as well.

In difference to cars, bicycles in most cases and pedestrians for sure can turn immediatly on a road without turn restrictions.

Given I want to cycle from one S-Station to another in Copenhagen, with a stopover at a friend's place at Bellmansgade: http://www.ibikecph.dk/en#!/x65wv.7hmgt/x663x.7hfew/x65x8.7h71w

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.
The deviation also adds additional time (2mins) and distance to my route.

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?

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?

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).

Any opinions / suggestions / info about ongoing devs for that?

Best regards,

[1] https://github.com/DennisOSRM/Project-OSRM/issues/167
[2] https://github.com/DennisOSRM/Project-OSRM/issues/477
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20140704/b59592fb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4037 bytes
Desc: image001.gif
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20140704/b59592fb/attachment-0001.gif>

More information about the OSRM-talk mailing list