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
Trafik
_______________________________
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Byens Anvendelse

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

Direkte

2369 5986

Mobil

2369 5986

Email

[email protected]<mailto:[email protected]>

EAN

5798009493149


[cid:[email protected]]<http://www.sharingcopenhagen.dk/>

Fra: Elisabeth Leu [mailto:[email protected]]
Sendt: 4. juli 2014 09:36
Til: [email protected]
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,
Elisabeth

[1] https://github.com/DennisOSRM/Project-OSRM/issues/167
[2] https://github.com/DennisOSRM/Project-OSRM/issues/477
_______________________________________________
OSRM-talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to