Skip to content

living_street for bike is avoided  #3029

Closed

Description

@caspg

Describe the bug

It looks that living_street is avoided for bike and mtb profiles but racing bike seems routing fine. Where the difference come from?

Is PUSHING_SECTION_SPEED assigned to living_street affecting routing that much? But how racing bike profile is overriding it?

Also, speed for living_street should vary country by country and is greater than "walking speed" osm wiki. Should there be a way to define that as a country rule?
We could also use maxspeed tag if preset.

To Reproduce

Example route

CleanShot 2024-06-24 at 09 09 16@2x

Activity

  1. ratrun commented on Jun 24, 2024

    @ratrun
    Contributor

    It looks that living_street is avoided for bike and mtb profiles but racing bike seems routing fine. Where the difference come from?

    We are de-prioritizing highway=residential to SLIGHT_AVOID for race bikes in order to make sure that we stick on higher classified highways within villages and do not create de-tours over residentials. This we don't do for the bike and MTB profile. So this is where the difference comes from.

    Please note that I'm from Austria and we have the rule that the maximum speed for any traffic for living_street is walking speed. I do not remember that such a detailed country dependent table existed when we implemented this about 10 years ago. I think that we just need to increase the assumed maximum speed to 18km/h. In case that the maxspeed is explicitly tagged to a lower speed we should already now take this as our assumed speed then.

  2. caspg commented on Jun 24, 2024

    @caspg
    ContributorAuthor

    @ratrun Thanks for the explanation.

    Not sure that setting it as 18km/h would be correct either. Even if we take maxspeed into consideration because not every way have it. So we will create incorrect routes for Austria and other countries where living_speed have walking speed.

    To make it correct there should be a way to set speed based on country.

  3. karussell commented on Jun 24, 2024

    @karussell
    Member
  4. caspg commented on Jun 25, 2024

    @caspg
    ContributorAuthor

    @karussell Changing speed to 6km/h helped. Do you think it should be new default?

    What do you mean about MaxSpeedCalculator? I enabled it in the config but with 4km/h for living_street it worked as in my initial post. Or you meant that it should be enabled and edited?

  5. ratrun commented on Jun 28, 2024

    @ratrun
    Contributor

    What do you mean about MaxSpeedCalculator? I enabled it in the config but with 4km/h for living_street it worked as in my initial post. Or you meant that it should be enabled and edited?

    @caspg See #2810 about the MaxSpeedCalculator. We could consider checking at some point if the assumed speed is lower than maxspeed and then increase the assumed speed. But probably we should do this only if the max_speed_estimated EV is false.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions