Skip to content

Commit 232d531

Browse files
committed
Add additional fields to climbing presets
This should make it easier to add climbing crags & routes to OSM with the correct tags. Tags are based on https://wiki.openstreetmap.org/wiki/Climbing.
1 parent 8e08cd9 commit 232d531

20 files changed

Lines changed: 359 additions & 8 deletions

data/fields/climbing/aid.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"key": "climbing:aid",
3+
"type": "check",
4+
"label": "Aid Climbing"
5+
}

data/fields/climbing/author.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"key": "author",
3+
"type": "text",
4+
"label": "Author",
5+
"placeholder": "Jane Doe, 1984"
6+
}

data/fields/climbing/boulder.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"key": "climbing:boulder",
3+
"type": "check",
4+
"label": "Bouldering"
5+
}

data/fields/climbing/dry.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"key": "climbing:dry",
3+
"type": "check",
4+
"label": "Dry-tooling"
5+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"key": "climbing:grade:aid",
3+
"type": "combo",
4+
"label": "Grade (Aid)",
5+
"placeholder": "A3",
6+
"caseSensitive": true,
7+
"customValues": false,
8+
"autoSuggestions": false,
9+
"prerequisiteTag": {
10+
"key": "climbing:aid",
11+
"value": "yes"
12+
},
13+
"options": [
14+
"A0",
15+
"A1",
16+
"A2",
17+
"A3",
18+
"A4",
19+
"A5"
20+
]
21+
}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"key": "climbing:grade:dry",
3+
"type": "combo",
4+
"label": "Grade (Dry-tooling)",
5+
"placeholder": "D8",
6+
"caseSensitive": true,
7+
"customValues": true,
8+
"autoSuggestions": false,
9+
"prerequisiteTag": {
10+
"key": "climbing:dry",
11+
"value": "yes"
12+
},
13+
"options": [
14+
"D1-",
15+
"D1",
16+
"D1+",
17+
"D2-",
18+
"D2",
19+
"D2+",
20+
"D3-",
21+
"D3",
22+
"D3+",
23+
"D4-",
24+
"D4",
25+
"D4+",
26+
"D5-",
27+
"D5",
28+
"D5+",
29+
"D6-",
30+
"D6",
31+
"D6+",
32+
"D7-",
33+
"D7",
34+
"D7+",
35+
"D8-",
36+
"D8",
37+
"D8+",
38+
"D9-",
39+
"D9",
40+
"D9+",
41+
"D10-",
42+
"D10",
43+
"D10+",
44+
"D11-",
45+
"D11",
46+
"D11+",
47+
"D12-",
48+
"D12",
49+
"D12+",
50+
"D13-",
51+
"D13",
52+
"D13+",
53+
"D14-",
54+
"D14",
55+
"D14+",
56+
"D15-",
57+
"D15",
58+
"D15+",
59+
"D16-",
60+
"D16",
61+
"D16+"
62+
]
63+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"key": "climbing:grade:hueco",
3+
"type": "combo",
4+
"label": "Grade (Hueco / V-grade)",
5+
"placeholder": "V6",
6+
"caseSensitive": true,
7+
"customValues": false,
8+
"autoSuggestions": false,
9+
"prerequisiteTag": {
10+
"key": "climbing:boulder",
11+
"value": "yes"
12+
},
13+
"options": [
14+
"V0",
15+
"V1",
16+
"V2",
17+
"V3",
18+
"V4",
19+
"V5",
20+
"V6",
21+
"V7",
22+
"V8",
23+
"V9",
24+
"V10",
25+
"V11",
26+
"V12",
27+
"V13",
28+
"V14",
29+
"V15",
30+
"V16",
31+
"V17",
32+
"V18"
33+
]
34+
}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"key": "climbing:grade:mixed",
3+
"type": "combo",
4+
"label": "Grade (Mixed)",
5+
"placeholder": "M8",
6+
"caseSensitive": true,
7+
"customValues": true,
8+
"autoSuggestions": false,
9+
"prerequisiteTag": {
10+
"key": "climbing:mixed",
11+
"value": "yes"
12+
},
13+
"options": [
14+
"M1-",
15+
"M1",
16+
"M1+",
17+
"M2-",
18+
"M2",
19+
"M2+",
20+
"M3-",
21+
"M3",
22+
"M3+",
23+
"M4-",
24+
"M4",
25+
"M4+",
26+
"M5-",
27+
"M5",
28+
"M5+",
29+
"M6-",
30+
"M6",
31+
"M6+",
32+
"M7-",
33+
"M7",
34+
"M7+",
35+
"M8-",
36+
"M8",
37+
"M8+",
38+
"M9-",
39+
"M9",
40+
"M9+",
41+
"M10-",
42+
"M10",
43+
"M10+",
44+
"M11-",
45+
"M11",
46+
"M11+",
47+
"M12-",
48+
"M12",
49+
"M12+",
50+
"M13-",
51+
"M13",
52+
"M13+",
53+
"M14-",
54+
"M14",
55+
"M14+",
56+
"M15-",
57+
"M15",
58+
"M15+",
59+
"M16-",
60+
"M16",
61+
"M16+"
62+
]
63+
}

data/fields/climbing/grade/wi.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"key": "climbing:grade:ice",
3+
"type": "combo",
4+
"label": "Grade (Water Ice)",
5+
"placeholder": "WI4",
6+
"caseSensitive": true,
7+
"customValues": false,
8+
"autoSuggestions": false,
9+
"prerequisiteTag": {
10+
"key": "climbing:ice",
11+
"value": "yes"
12+
},
13+
"options": [
14+
"WI1-",
15+
"WI1",
16+
"WI1+",
17+
"WI2-",
18+
"WI2",
19+
"WI2+",
20+
"WI3-",
21+
"WI3",
22+
"WI3+",
23+
"WI4-",
24+
"WI4",
25+
"WI4+",
26+
"WI5-",
27+
"WI5",
28+
"WI5+",
29+
"WI6-",
30+
"WI6",
31+
"WI6+",
32+
"WI7-",
33+
"WI7",
34+
"WI7+"
35+
]
36+
}

data/fields/climbing/hazard.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"key": "climbing:hazard:",
3+
"type": "multiCombo",
4+
"label": "Hazards",
5+
"autoSuggestions": false,
6+
"caseSensitive": false,
7+
"terms": [
8+
"animal_nest",
9+
"bad_protection",
10+
"death_fall_zone",
11+
"dirty_rock",
12+
"first_bolt_high",
13+
"highball",
14+
"long_runout",
15+
"loose_rock",
16+
"missing_anchor",
17+
"rockfall_zone",
18+
"slippery_rock",
19+
"unstable_anchor",
20+
"vegetation",
21+
"wet"
22+
]
23+
}

0 commit comments

Comments
 (0)