Skip to content

Routing of ordinary bicycle over ways tagged mtb:scale really wanted? #3049

Closed

Description

@hungerburg

Describe the bug
I found, the stock bicycle profile routes over mtb:scale tagged ways. A warning is shown, that the route contains "herausfordernde oder gefährliche Abschnitte: mtb_rating: 2".

To Reproduce
Sample route https://graphhopper.com/maps/?point=47.285994%2C11.399725&point=47.283385%2C11.412976&profile=bike&layer=TF+Cycle

Expected behavior
I'd expect such not suggested at all in the itineraries for ordinary bicycles. Perhaps S0 can be fun on a trekking bike. But likely S1 and up will break the bike or the biker when not experienced in mountainbiking.

Activity

  1. mprins commented on Sep 10, 2024

    @mprins
    Contributor

    There is a PR open for mtb:scale support in #3048

  2. hungerburg commented on Sep 10, 2024

    @hungerburg
    Author
  3. ratrun commented on Sep 15, 2024

    @ratrun
    Contributor

    Here is the routing result of the example from above using the current state of the PR #3048 with the bike profile without elevation weighting:
    Bildschirmfoto vom 2024-09-15 06-48-15
    @hungerburg : Is this the route you are expecting?

  4. hungerburg commented on Sep 15, 2024

    @hungerburg
    Author

    @ratrun This is a good result. The mtb:scale=2 path no longer taken. I would go there on my trekking bike. The steepness warning very much justified! But on this track people can at least push the bike if too demanding for them.

    I now see one problem with the sample route: This section https://www.openstreetmap.org/way/1066950456 was marked closed 25 days ago. With up to date data, the detour will get really long, either same as the racing bike route or like this.

  5. ratrun commented on Sep 15, 2024

    @ratrun
    Contributor

    now see one problem with the sample route: This section https://www.openstreetmap.org/way/1066950456 was marked closed 25 days ago. With up to date data, the detour will get really long, either same as the racing bike route or like this.

    This is because I used an OSM extract from 2024-07-12. I didn't expect a change in the data in that region, therefore I didn't update it. The way will also be avoided when using actual data.

  6. ratrun commented on Oct 24, 2024

    @ratrun
    Contributor

    @karussell This issue can be closed, thanks!

  7. hungerburg commented on Oct 24, 2024

    @hungerburg
    Author

    Is the change already live on the GraphHopper site? I still see ordinary bicycles routed over mtb:scale=3 paths, eg. here from the outdoor seating to the parking lot:

    https://graphhopper.com/maps/?point=47.211323%2C11.333352&point=47.221799%2C11.367835&profile=bike&layer=TF+Cycle

    Note there is a mtb:scale=0 route available too, down the "Rodelbahn" https://graphhopper.com/maps/?point=47.211323%2C11.333352&point=47.221799%2C11.367835&profile=foot&layer=TF+Cycle - the 4.5 km alternative

  8. ratrun commented on Oct 25, 2024

    @ratrun
    Contributor

    Is the change already live on the GraphHopper site?

    Here is the result using the latest master branch:
    Bildschirmfoto vom 2024-10-25 17-53-45

    This result differs from the current online instance. Either the graphhopper online instance is not using the latest jar file, or the used server side custom bike model was not updated.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions