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
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.
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.
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.
@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?
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.
Activity
ratrun commentedon Jun 24, 2024
We are de-prioritizing
highway=residentialto 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.
caspg commentedon Jun 24, 2024
@ratrun Thanks for the explanation.
Not sure that setting it as 18km/h would be correct either. Even if we take
maxspeedinto consideration because not every way have it. So we will create incorrect routes for Austria and other countries whereliving_speedhave walking speed.To make it correct there should be a way to set speed based on country.
karussell commentedon Jun 24, 2024
@caspg can you try what happens if we slightly increase the speed to 6km/h for living_street?
Here our MaxSpeedCalculator could help: https://github.com/westnordost/osm-legal-default-speeds
(https://wiki.openstreetmap.org/wiki/Default_speed_limits)
caspg commentedon Jun 25, 2024
@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?ratrun commentedon Jun 28, 2024
@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_estimatedEV is false.