add mtb:scale, mtb:scale:uphill, mtb:scale:imba (closes #2244)

This commit is contained in:
Bryan Housel
2014-07-23 13:54:48 -04:00
parent 4f141a153e
commit 60af39c7da
11 changed files with 194 additions and 20 deletions
+32 -2
View File
@@ -281,6 +281,36 @@ en:
maxspeed:
label: Speed Limit
placeholder: "40, 50, 60..."
mtb/scale:
label: Mountain Biking Difficulty
placeholder: "0, 1, 2, 3..."
options:
"0": "0: Solid gravel/packed earth, no obstacles, wide curves"
"1": "1: Some loose surface, small obstacles, wide curves"
"2": "2: Much loose surface, large obstacles, easy hairpins"
"3": "3: Slippery surface, large obstacles, tight hairpins"
"4": "4: Loose surface or boulders, dangerous hairpins"
"5": "5: Maximum difficulty, boulder fields, landslides"
"6": "6: Not rideable except by the very best mountain bikers"
mtb/scale/imba:
label: IMBA Trail Difficulty
placeholder: "Easy, Medium, Difficult..."
options:
"0": Easiest (white circle)
"1": Easy (green circle)
"2": Medium (blue square)
"3": Difficult (black diamond)
"4": Extremely Difficult (double black diamond)
mtb/scale/uphill:
label: Mountain Biking Uphill Difficulty
placeholder: "0, 1, 2, 3..."
options:
"0": "0: Avg. incline <10%, gravel/packed earth, no obstacles"
"1": "1: Avg. incline <15%, gravel/packed earth, few small objects"
"2": "2: Avg. incline <20%, stable surface, fistsize rocks/roots"
"3": "3: Avg. incline <25%, variable surface, fistsize rocks/branches"
"4": "4: Avg. incline <30%, poor condition, big rocks/branches"
"5": "5: Very steep, bike generally needs to be pushed or carried"
name:
label: Name
placeholder: Common name (if any)
@@ -389,7 +419,7 @@ en:
route_master:
label: Type
sac_scale:
label: Path Difficulty
label: Hiking Difficulty
placeholder: "Mountain Hiking, Alpine Hiking..."
options:
hiking: "T1: Hiking"
@@ -470,7 +500,7 @@ en:
towertype:
label: Tower type
tracktype:
label: Type
label: Track Type
placeholder: "Solid, Mostly Solid, Soft..."
options:
grade1: "Solid: paved or heavily compacted hardcore surface"
+50 -2
View File
@@ -571,6 +571,54 @@
"label": "Speed Limit",
"placeholder": "40, 50, 60..."
},
"mtb/scale": {
"key": "mtb:scale",
"type": "combo",
"label": "Mountain Biking Difficulty",
"placeholder": "0, 1, 2, 3...",
"strings": {
"options": {
"0": "0: Solid gravel/packed earth, no obstacles, wide curves",
"1": "1: Some loose surface, small obstacles, wide curves",
"2": "2: Much loose surface, large obstacles, easy hairpins",
"3": "3: Slippery surface, large obstacles, tight hairpins",
"4": "4: Loose surface or boulders, dangerous hairpins",
"5": "5: Maximum difficulty, boulder fields, landslides",
"6": "6: Not rideable except by the very best mountain bikers"
}
}
},
"mtb/scale/imba": {
"key": "mtb:scale:imba",
"type": "combo",
"label": "IMBA Trail Difficulty",
"placeholder": "Easy, Medium, Difficult...",
"strings": {
"options": {
"0": "Easiest (white circle)",
"1": "Easy (green circle)",
"2": "Medium (blue square)",
"3": "Difficult (black diamond)",
"4": "Extremely Difficult (double black diamond)"
}
}
},
"mtb/scale/uphill": {
"key": "mtb:scale:uphill",
"type": "combo",
"label": "Mountain Biking Uphill Difficulty",
"placeholder": "0, 1, 2, 3...",
"strings": {
"options": {
"0": "0: Avg. incline <10%, gravel/packed earth, no obstacles",
"1": "1: Avg. incline <15%, gravel/packed earth, few small objects",
"2": "2: Avg. incline <20%, stable surface, fistsize rocks/roots",
"3": "3: Avg. incline <25%, variable surface, fistsize rocks/branches",
"4": "4: Avg. incline <30%, poor condition, big rocks/branches",
"5": "5: Very steep, bike generally needs to be pushed or carried"
}
}
},
"name": {
"key": "name",
"type": "localized",
@@ -800,7 +848,7 @@
"sac_scale": {
"key": "sac_scale",
"type": "combo",
"label": "Path Difficulty",
"label": "Hiking Difficulty",
"placeholder": "Mountain Hiking, Alpine Hiking...",
"strings": {
"options": {
@@ -1001,7 +1049,7 @@
"tracktype": {
"key": "tracktype",
"type": "combo",
"label": "Type",
"label": "Track Type",
"placeholder": "Solid, Mostly Solid, Soft...",
"strings": {
"options": {
+17
View File
@@ -0,0 +1,17 @@
{
"key": "mtb:scale",
"type": "combo",
"label": "Mountain Biking Difficulty",
"placeholder": "0, 1, 2, 3...",
"strings": {
"options": {
"0": "0: Solid gravel/packed earth, no obstacles, wide curves",
"1": "1: Some loose surface, small obstacles, wide curves",
"2": "2: Much loose surface, large obstacles, easy hairpins",
"3": "3: Slippery surface, large obstacles, tight hairpins",
"4": "4: Loose surface or boulders, dangerous hairpins",
"5": "5: Maximum difficulty, boulder fields, landslides",
"6": "6: Not rideable except by the very best mountain bikers"
}
}
}
+15
View File
@@ -0,0 +1,15 @@
{
"key": "mtb:scale:imba",
"type": "combo",
"label": "IMBA Trail Difficulty",
"placeholder": "Easy, Medium, Difficult...",
"strings": {
"options": {
"0": "Easiest (white circle)",
"1": "Easy (green circle)",
"2": "Medium (blue square)",
"3": "Difficult (black diamond)",
"4": "Extremely Difficult (double black diamond)"
}
}
}
+16
View File
@@ -0,0 +1,16 @@
{
"key": "mtb:scale:uphill",
"type": "combo",
"label": "Mountain Biking Uphill Difficulty",
"placeholder": "0, 1, 2, 3...",
"strings": {
"options": {
"0": "0: Avg. incline <10%, gravel/packed earth, no obstacles",
"1": "1: Avg. incline <15%, gravel/packed earth, few small objects",
"2": "2: Avg. incline <20%, stable surface, fistsize rocks/roots",
"3": "3: Avg. incline <25%, variable surface, fistsize rocks/branches",
"4": "4: Avg. incline <30%, poor condition, big rocks/branches",
"5": "5: Very steep, bike generally needs to be pushed or carried"
}
}
}
+1 -1
View File
@@ -1,7 +1,7 @@
{
"key": "sac_scale",
"type": "combo",
"label": "Path Difficulty",
"label": "Hiking Difficulty",
"placeholder": "Mountain Hiking, Alpine Hiking...",
"strings": {
"options": {
+1 -1
View File
@@ -1,7 +1,7 @@
{
"key": "tracktype",
"type": "combo",
"label": "Type",
"label": "Track Type",
"placeholder": "Solid, Mostly Solid, Soft...",
"strings": {
"options": {
+12 -6
View File
@@ -3951,9 +3951,12 @@
"width",
"structure",
"access",
"sac_scale",
"incline",
"sac_scale",
"trail_visibility",
"mtb/scale",
"mtb/scale/uphill",
"mtb/scale/imba",
"ref"
],
"geometry": [
@@ -4336,13 +4339,16 @@
"highway/track": {
"icon": "highway-track",
"fields": [
"tracktype",
"smoothness",
"oneway",
"maxspeed",
"surface",
"width",
"structure",
"access",
"surface"
"incline",
"tracktype",
"smoothness",
"mtb/scale",
"mtb/scale/uphill",
"mtb/scale/imba"
],
"geometry": [
"line"
+4 -1
View File
@@ -5,9 +5,12 @@
"width",
"structure",
"access",
"sac_scale",
"incline",
"sac_scale",
"trail_visibility",
"mtb/scale",
"mtb/scale/uphill",
"mtb/scale/imba",
"ref"
],
"geometry": [
+8 -5
View File
@@ -1,13 +1,16 @@
{
"icon": "highway-track",
"fields": [
"tracktype",
"smoothness",
"oneway",
"maxspeed",
"surface",
"width",
"structure",
"access",
"surface"
"incline",
"tracktype",
"smoothness",
"mtb/scale",
"mtb/scale/uphill",
"mtb/scale/imba"
],
"geometry": [
"line"
+38 -2
View File
@@ -805,6 +805,42 @@
"label": "Speed Limit",
"placeholder": "40, 50, 60..."
},
"mtb/scale": {
"label": "Mountain Biking Difficulty",
"placeholder": "0, 1, 2, 3...",
"options": {
"0": "0: Solid gravel/packed earth, no obstacles, wide curves",
"1": "1: Some loose surface, small obstacles, wide curves",
"2": "2: Much loose surface, large obstacles, easy hairpins",
"3": "3: Slippery surface, large obstacles, tight hairpins",
"4": "4: Loose surface or boulders, dangerous hairpins",
"5": "5: Maximum difficulty, boulder fields, landslides",
"6": "6: Not rideable except by the very best mountain bikers"
}
},
"mtb/scale/imba": {
"label": "IMBA Trail Difficulty",
"placeholder": "Easy, Medium, Difficult...",
"options": {
"0": "Easiest (white circle)",
"1": "Easy (green circle)",
"2": "Medium (blue square)",
"3": "Difficult (black diamond)",
"4": "Extremely Difficult (double black diamond)"
}
},
"mtb/scale/uphill": {
"label": "Mountain Biking Uphill Difficulty",
"placeholder": "0, 1, 2, 3...",
"options": {
"0": "0: Avg. incline <10%, gravel/packed earth, no obstacles",
"1": "1: Avg. incline <15%, gravel/packed earth, few small objects",
"2": "2: Avg. incline <20%, stable surface, fistsize rocks/roots",
"3": "3: Avg. incline <25%, variable surface, fistsize rocks/branches",
"4": "4: Avg. incline <30%, poor condition, big rocks/branches",
"5": "5: Very steep, bike generally needs to be pushed or carried"
}
},
"name": {
"label": "Name",
"placeholder": "Common name (if any)"
@@ -950,7 +986,7 @@
"label": "Type"
},
"sac_scale": {
"label": "Path Difficulty",
"label": "Hiking Difficulty",
"placeholder": "Mountain Hiking, Alpine Hiking...",
"options": {
"hiking": "T1: Hiking",
@@ -1057,7 +1093,7 @@
"label": "Tower type"
},
"tracktype": {
"label": "Type",
"label": "Track Type",
"placeholder": "Solid, Mostly Solid, Soft...",
"options": {
"grade1": "Solid: paved or heavily compacted hardcore surface",