Skip to content

Interpret route relations #76

Closed
Closed

Description

@NopMap

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.

Activity

  1. karussell commented on Jun 10, 2013

    @karussell
    Member

    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.

  2. NopMap commented on Jun 13, 2013

    @NopMap
    ContributorAuthor

    If this only improves safety this depends on #65

    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.

  3. ghost assigned on Jul 5, 2013
  4. ratrun commented on Dec 16, 2013

    @ratrun
    Contributor

    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.

  5. karussell commented on Dec 16, 2013

    @karussell
    Member

    @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

  6. ratrun commented on Dec 16, 2013

    @ratrun
    Contributor

    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:

    @ratrun https://github.com/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

    —
    Reply to this email directly or view it on GitHub
    #76 (comment).

  7. ratrun commented on Dec 16, 2013

    @ratrun
    Contributor

    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:

    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

    —
    Reply to this email directly or view it on GitHub
    #76 (comment).

  8. karussell commented on Jan 8, 2014

    @karussell
    Member

    The requested feature is now implemented via #132 but for bike only.

  9. added this to the 0.4 milestone on Aug 18, 2014
  10. karussell commented on Nov 5, 2014

    @karussell
    Member

    Implemented this for foot now, improvements to this will happen in a different issue

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

Metadata

Metadata

Assignees

Labels

good first issueimprovementosm

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions