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

prioritize cycleways in bike routing #308

Closed
emmexx opened this issue Jun 28, 2012 · 7 comments
Closed

prioritize cycleways in bike routing #308

emmexx opened this issue Jun 28, 2012 · 7 comments

Comments

@emmexx
Copy link

emmexx commented Jun 28, 2012

From what I understand looking at the code, osrm is not giving an advantage to cycleways (highway=cycleway or highway=* AND cycleway=*) when calculating edge weights.
As a consequence I noticed that almost always osrm chooses a "normal" street instead of the cycleway that runs parallel to it.

I don't know enough the algorythm used to choose a way or another but, from what I understand, in the current version of osrm only the speed is used as a weight edge.
Is there any plan to change this behaviour?

thank you
maxx

@DennisOSRM
Copy link
Collaborator

Yes, work for a scripting engine using LUA is underway. It will give much more flexibility and will let you specify any priorities.

@emmexx
Copy link
Author

emmexx commented Jun 28, 2012

Il 06/28/2012 11:42 AM, Project OSRM scrisse:

Yes, work for a scripting engine using LUA is underway. It will give
much more flexibility and will let you specify any priorities.

Great!
Emil Tim wrote about this in another thread.
I'd like to contribute.
Is the following the correct starting point?
#240.

thank you
maxx

@emmexx
Copy link
Author

emmexx commented Jun 28, 2012

Another important feature should be to give a "feedback" when a cyclist should use a cycleway. Roads and cycleway often run in parallel and in OSM many cycleways don't have a street name.
It would be helpful to add to the json answer a flag to indicate that the suggested way is a cycleway.

maxx

@emiltin
Copy link
Contributor

emiltin commented Jul 10, 2012

the way name should be chosen/constructed by the lua parser too

@emiltin
Copy link
Contributor

emiltin commented Dec 26, 2012

see #77 for discussion about weights in general

@emiltin
Copy link
Contributor

emiltin commented Jan 29, 2013

a good solution to this requires separating speed and impendance, so leaving open for now.

@daniel-j-h
Copy link
Member

Outdated; take a look at the bicycle.lua profile. There are already tickets re. speed vs. weight.

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

No branches or pull requests

4 participants