You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OSM data holds many trailblazoned hiking trails (~34000) and many bicycle routes (~37000).
We should evaluate those relations and use the information to prefer routing on the recommended ways, as they are usually safer, more beautiful, better developed etc.
I have a lot of experience with hiking route relations. Technically, this will mean parsing the routes during pass1 and remembering which ways belong to a route relation, with a marker whether it's a foot or bike route or both. During pass2, there should be a bonus for edges on those recommended routes.
It also improves usablity, beauty, whatever the reasons were to select this way above others.
Another idea for relations: We could check for relations for trams and avoid those ways with bicycles. It is usually no fun to ride a bicycle on tram rails.
I have implemented this and also #84 and improved the bicycle route routing by adding bonus and subtract malus speed values based on the value of the "network" tag. This bicycle routing now finds routes, which I believe are better compared to the current master version. Additionally I have made a hack for improved tuning instructions specifically for bicycles. These instructions contain information if the chosen edge is unpaved or paved, and if it is a wheeler edge. This part of the implementation needs some cleanup, because I put some bicycle specific code into the generic/car minded instruction parts as I could not find another way. Can somebody please point me to instructions how to push my branch to git? I'm completely new to git and don't know if somebody needs to give me "push" rights.
Activity
karussell commentedon Jun 10, 2013
If this only improves safety this depends on #65
But this could also slightly change the speed. E.g. you mentioned that they are usually better developed.
NopMap commentedon Jun 13, 2013
It also improves usablity, beauty, whatever the reasons were to select this way above others.
Another idea for relations: We could check for relations for trams and avoid those ways with bicycles. It is usually no fun to ride a bicycle on tram rails.
ratrun commentedon Dec 16, 2013
Thanks for sharing this great code.
I have implemented this and also #84 and improved the bicycle route routing by adding bonus and subtract malus speed values based on the value of the "network" tag. This bicycle routing now finds routes, which I believe are better compared to the current master version. Additionally I have made a hack for improved tuning instructions specifically for bicycles. These instructions contain information if the chosen edge is unpaved or paved, and if it is a wheeler edge. This part of the implementation needs some cleanup, because I put some bicycle specific code into the generic/car minded instruction parts as I could not find another way. Can somebody please point me to instructions how to push my branch to git? I'm completely new to git and don't know if somebody needs to give me "push" rights.
karussell commentedon Dec 16, 2013
@ratrun Nice! Push to your forked repository on github and then click create 'pull request'. See https://help.github.com/articles/creating-a-pull-request
ratrun commentedon Dec 16, 2013
Hello,
Sorry. I would like to push to github but I get following push error:
"git-receive-pack not permitted" when I try to push via NetBeans IDE 7.4.
Am 16.12.2013 10:48, schrieb Peter:
karussell commentedon Dec 16, 2013
Does this here solve your issue? http://stackoverflow.com/q/13972002/194609
Make sure you push goes to https://github.com/ratrun/graphhopper not to this here
ratrun commentedon Dec 16, 2013
Thanks. I used https://github.com/graphhopper/graphhopper and this produced the
"git-receive-pack not permitted" error. The URL you gave me made it work.
Am 16.12.2013 16:36, schrieb Peter:
karussell commentedon Jan 8, 2014
The requested feature is now implemented via #132 but for bike only.
karussell commentedon Nov 5, 2014
Implemented this for foot now, improvements to this will happen in a different issue