Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use bike speed when biking on a pedestrian street #237

Closed
emiltin opened this issue May 1, 2012 · 4 comments
Closed

use bike speed when biking on a pedestrian street #237

emiltin opened this issue May 1, 2012 · 4 comments

Comments

@emiltin
Copy link
Contributor

emiltin commented May 1, 2012

some pedestrian streets allow bicycling, using the bicycle=yes tag. osrm correctly allows routing on these, but seems to uses the pedestrian speed instead of the default cycling speed.

for example i might have this in my speedprofile:

defaultSpeed = 17
pedestrian=5

when routing on a way with highway=pedestrin & bicycle=yes, osrm should use the speed 17, not 5 (perhaps by choosing the highest of the two values?).

even better would be two have two settings for such 'slow' ways: one for pushing bikes (when cycling is not allowed), and one for cycling (when cycling is allowed).

@liotier
Copy link

liotier commented May 21, 2012

I'm not sure about this one : on a highway=pedestrian, bicycle=yes might in fact be a bicycle=designated or a bicycle=permissive - but tagged with a generic bicycle=yes. In the first case you are right and the default speed should be bicycle speed, but in the second case the speed would be somewhere between bicycle and pedestrian - a careful bicyclist among pedestrians. This description might be a case of premature optimization... So here are the safe default I would propose for bicycle=* tags on a highway=pedestrian:

  • bicycle=yes|permissive : 10 (the careful cyclist among pedestrians, somewhere halfway between cyclist and pedestrian)
  • bicycle=designated : 17 (or whatever the cycling default is)
  • bicycle=dismount or unspecified : 5 (or whatever the pedestrian default is)

@emiltin
Copy link
Contributor Author

emiltin commented May 21, 2012

makes sense, at least if mappers use the tags consistently. i've seen some confusion around when to use no/dismount.

@DennisOSRM
Copy link
Collaborator

I'll take these tags into account for the scripting engine based extraction routine.

@DennisOSRM
Copy link
Collaborator

Will be fixed with implementation of issue #1. Therefore closing as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants