When preparing to embark on a hike, I want to know if a trail suitable for me (my skill level and the time/energy I have for the hike). I would like to review a map and have trails clearly identified based on their level of difficulty and level of required exertion. There are numerous classification systems which grade trails for hiking and mountain biking including the Swiss Alpine Club Rating scale, German Single-track Scale, International Mountain Mike Association scale, Yosemite Decimal System, Australian Walking Track Grading System, the Sierra Club scale, the Appalachian Mountain Club, and Shenandoah National Park and Pigeon Forge National Park, and the US Forest Service and others. These rating systems variously take into account surface condition and obstacles, steepness, trail visibility, required gear, required wayfarer skills, risk/exposure, length, and elevation change.
Several of the established scales focus on exertion level based on length/elevation with different formulas but don’t take into account technical difficulty (National Park Service and Appalachian Mountain Club, Sierra Club). Several focus terrain and skill required with criteria for peak and/or average incline, surface material, smoothness, visibility, required gear, and risk/exposure (SAC, MTB, YDS, and USFS). While others combine these factors (Australian System, and Adventure Nerds). Others have proposed modifications/alternative scales that have not been widely adopted, but attempt to merge and isolate key factors.
OSM has well established tags for ways based on the Swiss Alpine Club Rating scale for hiking and the German Single-track Scale for mountain biking, but these are not always used. There are other tags that are related to the factors which contribute to the difficulty assessment (surface, smoothness, visibility, incline), again with variable adoption. The stamina and time required for a hike are a combination of elevation change and distance which are also OSM tags recommended for routes, but stamina and time will also be influenced by the technical difficulty of the ways.
Personally, I think it is useful to segregate the technical difficulty of a path from the exertion level required to complete it. I think it would be interesting to render a map with ways based only on technical difficulty, and routes based on a combination of difficulty and exertion required to complete.
I have taken a pass at correlating all of the various scales and harmonizing their criteria and factors, and then identifying the values for the relevant tags in OSM. The scales are not entirely consistent, so this table represents a number of choices I have made. I intend to use this table along with an algorithm to render trail difficulty based on a combination of whatever tags are available. Such an algorithm could also flag paths which are missing critical information about difficulty or have confusing/conflicting metadata potentially in need of validation (e.g. surface=paved & sac_scale=mountain_hiking, or smoothness=horrible & mtb:scale=0). I have also started on a MapCSS style for JOSM based on this table for my own use and exploration, I hope to upload it to github shortly. I also intend to expand the algorithm to take into account access indications as being identified by the trails working group.