Skip to content

Commit e7dcdd8

Browse files
authored
Add preset for climbing=crag point and relation (#1597)
1 parent da500ee commit e7dcdd8

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

data/preset_categories/climbing.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"icon": "temaki-climbing",
33
"name": "Climbing Features",
44
"members": [
5+
"climbing/crag",
6+
"type/site/climbing/crag",
57
"type/site/climbing/area"
68
]
79
}

data/presets/climbing/crag.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"icon": "temaki-climbing",
3+
"fields": [
4+
"name"
5+
],
6+
"moreFields": [
7+
"website"
8+
],
9+
"geometry": [
10+
"point"
11+
],
12+
"tags": {
13+
"climbing": "crag"
14+
},
15+
"addTags": {
16+
"sport": "climbing",
17+
"climbing": "crag"
18+
},
19+
"aliases": [
20+
"Climbing Cliff"
21+
],
22+
"name": "Climbing Crag"
23+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"icon": "temaki-climbing",
3+
"fields": [
4+
"{climbing/crag}"
5+
],
6+
"moreFields": [
7+
"{climbing/crag}"
8+
],
9+
"geometry": [
10+
"relation"
11+
],
12+
"tags": {
13+
"type": "site",
14+
"climbing": "crag"
15+
},
16+
"addTags": {
17+
"climbing": "crag",
18+
"site": "climbing",
19+
"sport": "climbing",
20+
"type": "site"
21+
},
22+
"reference": {
23+
"key": "climbing",
24+
"value": "crag"
25+
},
26+
"aliases": [
27+
"Climbing Cliff"
28+
],
29+
"name": "Climbing Crag"
30+
}

0 commit comments

Comments
 (0)