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
{{ message }}
Repository navigation
foot routing of ordinary pedestrians over ways tagged mtb:scale really wanted? #3050
One should probably be conservative and assume at least T3 from S5 and S4 and probably T2 from S3 (but not higher). From the textual description, S2 can be a staircase, so I would not assume anything for pedestriands based on that.
Nice catch, the staircase. I'd say, in so called outdoors territory, one cannot depend on that stairs are mapped as highway=steps - even on sac_scale=hiking paths - however useful that might be for people short on air, COPD e.g.
I looked around the area of my local knowledge -- paths tagged mtb:scale=1, not foot=no &c, that I know from being there : both biking and hiking difficulty vary a lot. Yet no staircase found on paths tagged mtb:scale=2.
With the current master the creation of a custom foot or hike model is already possible. So these custom models could take the mtb_rating encoded value into account. But I'm not sure about what the expectation for the defaults of these two profiles would be. I think for the hike model only mtb:scale=6 would need to be completely avoided. For the foot profile this threshold might be maybe mtb:scale=2 ?
Not a GraphHopper user here, just an openstreetmap contributor with interest in how data is consumed. When I learned, that mountain_hiking is beyond the foot profile, I remembered mtb:scale pictures: S0 looks like sac_scale=hiking, S1 looks a lot like mountain_hiking and S2 touching onto demanding_mountain_hiking, S3 certainly that. That prompted me to file this issue. (I cannot make much sense of the remaining pictures from a pedestrian point of view.)
Asking an acquaintance who's into MTB downhill, they do not know the S-scale that osm uses. Not a lot to learn there except: with 200 mm suspension stairs are like a ramp ;) I asked the question on the forum too. One user - who always writes very reasonable - wrote, modes too different to infer something about one from the other. Maybe it is just not possible to fill in sac_scale voids with mtb:scale. The mapping community better tasked with that?
On the pedestrian interpretation of the remaining mtb:scale pictures: S4 seems to centre around hairpin curves and relevant technique; It could show hiking, mountain_hiking or demanding_mountain_hiking but difference cannot be told, because it is not clear how deep the fall when having a black-out or merely just slipping in the very location. S5 looks like demanding_mountain_hiking again.
I concur with @felagund with regard to the hiking profile - GraphHopper does not shy alpine_hiking in that profile as of now, so nothing in need of change ;)
changed the title [-]Routing of ordinary pedestrians over ways tagged mtb:scale really wanted?[/-][+]foot routing of ordinary pedestrians over ways tagged mtb:scale really wanted?[/+]on Oct 6, 2025
There are two problems: first mtb:scale seems to be tagged more subjectively than others. E.g. this way is mtb:scale=2 when in real world this is an ordinary track i.e. mtb:scale=0. Later on (up the hill, i.e. not this way) it gets a bit more tricky but not down there. There was a similar issue reported when we excluded paths based on mtb:scale and so I'm not sure about the quality of the mapping for this. For now I removed the hard constraint from foot.json and made it a soft constraint.
Then there might be a problem because we use mtb_rating=0 as default and so mtb_rating=1 corresponds to mtb:scale=0, which is a bit confusing. However it is more consistent compared to hike_rating. And therefore I increased the number in foot.json as it seems to be more appropriated.
Activity
felagund commentedon Sep 12, 2024
There is some debate about the correspondance between mtb:scale and sac_scale here: https://community.openstreetmap.org/t/consuming-highway-path-take-2/118175/87
One should probably be conservative and assume at least T3 from S5 and S4 and probably T2 from S3 (but not higher). From the textual description, S2 can be a staircase, so I would not assume anything for pedestriands based on that.
hungerburg commentedon Sep 12, 2024
Nice catch, the staircase. I'd say, in so called outdoors territory, one cannot depend on that stairs are mapped as
highway=steps- even on sac_scale=hiking paths - however useful that might be for people short on air, COPD e.g.I looked around the area of my local knowledge -- paths tagged mtb:scale=1, not foot=no &c, that I know from being there : both biking and hiking difficulty vary a lot. Yet no staircase found on paths tagged mtb:scale=2.
ratrun commentedon Oct 25, 2024
With the current master the creation of a custom foot or hike model is already possible. So these custom models could take the
mtb_ratingencoded value into account. But I'm not sure about what the expectation for the defaults of these two profiles would be. I think for the hike model onlymtb:scale=6would need to be completely avoided. For the foot profile this threshold might be maybemtb:scale=2?hungerburg commentedon Oct 26, 2024
Not a GraphHopper user here, just an openstreetmap contributor with interest in how data is consumed. When I learned, that mountain_hiking is beyond the foot profile, I remembered mtb:scale pictures: S0 looks like sac_scale=hiking, S1 looks a lot like mountain_hiking and S2 touching onto demanding_mountain_hiking, S3 certainly that. That prompted me to file this issue. (I cannot make much sense of the remaining pictures from a pedestrian point of view.)
Asking an acquaintance who's into MTB downhill, they do not know the S-scale that osm uses. Not a lot to learn there except: with 200 mm suspension stairs are like a ramp ;) I asked the question on the forum too. One user - who always writes very reasonable - wrote, modes too different to infer something about one from the other. Maybe it is just not possible to fill in sac_scale voids with mtb:scale. The mapping community better tasked with that?
felagund commentedon Oct 26, 2024
The OSM wiki now specifies the relationship as this: https://wiki.openstreetmap.org/wiki/Key:mtb:scale#Relation_to_SAC_scale_for_hikers
I would not do anything for hike profile, for foot what you suggests sounds reasonable.
hungerburg commentedon Oct 26, 2024
On the pedestrian interpretation of the remaining mtb:scale pictures: S4 seems to centre around hairpin curves and relevant technique; It could show hiking, mountain_hiking or demanding_mountain_hiking but difference cannot be told, because it is not clear how deep the fall when having a black-out or merely just slipping in the very location. S5 looks like demanding_mountain_hiking again.
I concur with @felagund with regard to the hiking profile - GraphHopper does not shy alpine_hiking in that profile as of now, so nothing in need of change ;)
Block difficult mtb_rating segments for foot, see discussion in graph…
ratrun commentedon Oct 27, 2024
Than you for your input. I created a PR, lets see what @karussell decides.
Block difficult mtb_rating segments for foot, see discussion in #3050 (…
ratrun commentedon Nov 6, 2024
@karussell I think that this issue can be closed now.
[-]Routing of ordinary pedestrians over ways tagged mtb:scale really wanted?[/-][+]foot routing of ordinary pedestrians over ways tagged mtb:scale really wanted?[/+]foot: only soft avoidance for mtb:scale, #3050
karussell commentedon Oct 6, 2025
There are two problems: first
mtb:scaleseems to be tagged more subjectively than others. E.g. this way is mtb:scale=2 when in real world this is an ordinary track i.e. mtb:scale=0. Later on (up the hill, i.e. not this way) it gets a bit more tricky but not down there. There was a similar issue reported when we excluded paths based on mtb:scale and so I'm not sure about the quality of the mapping for this. For now I removed the hard constraint from foot.json and made it a soft constraint.Then there might be a problem because we use
mtb_rating=0as default and somtb_rating=1corresponds tomtb:scale=0, which is a bit confusing. However it is more consistent compared to hike_rating. And therefore I increased the number in foot.json as it seems to be more appropriated.foot: only soft avoidance for mtb:scale, graphhopper#3050