-
Notifications
You must be signed in to change notification settings - Fork 11
/
sport.json
113 lines (113 loc) · 3.58 KB
/
sport.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"type": "overpass",
"name": {
"ast": "Deportes",
"ca": "Esport",
"cs": "Sport",
"de": "Sport",
"el": "Άθληση",
"en": "Sport",
"es": "Deportes",
"fr": "Sports",
"gl": "Deporte",
"hu": "Sport",
"it": "Sport",
"ja": "スポーツ",
"nb": "Sport",
"nl": "Sport",
"oc": "Espòrt",
"pl": "Sport",
"pt": "Desporto",
"pt-br": "Esportes",
"ru": "Спорт",
"sr": "Спорт",
"tr": "Spor",
"uk": "Спорт. Інше."
},
"query": {
"14": "(node[sport];way[sport];relation[sport];)"
},
"feature": {
"description": [
"{% if tags.leisure %}{{ tagTrans('leisure', tags.leisure) }}",
"{% elseif tags.amenity %}{{ tagTrans('amenity', tags.amenity) }}",
"{% elseif tags.shop %}{{ tags.shop == 'yes' ? keyTrans('shop') : tagTrans('shop', tags.shop) }}",
"{% elseif tags.landuse %}{{ tagTrans('landuse', tags.landuse) }}",
"{% elseif tags.building %}{{ tags.building == 'yes' ? keyTrans('building') : tagTrans('building', tags.building) }}",
"{% elseif tags.highway %}{{ tagTrans('highway', tags.highway) }}",
"{% else %}{{ keyTrans('sport') }}",
"{% endif %}"
],
"listDetails": "{{ tagTransList('sport', tags.sport) }}",
"body": "{{ keyTrans('sport') }}: {{ tagTransList('sport', tags.sport) }}",
"markerSign": [
"{% set firstSport = tags.sport|split(';')[0] %}",
"{{ const[firstSport] }}"
]
},
"const": {
"9pin": "🎳",
"10pin": "🎳",
"american_football": "🏈",
"archery": "🎯",
"athletics": "",
"australian_football": "🏈",
"badminton": "🏸",
"baseball": "⚾",
"basketball": "🏀",
"beachvolleyball": "🏐",
"billiards": "🎱",
"boules": "",
"bowls": "",
"bmx": "🚲",
"cricket": "🏏",
"canadian_football": "🏈",
"chess": "♚",
"climbing": "🏔",
"cockfighting": "🐓",
"cycling": "🚲",
"darts": "🎯",
"dog_racing": "🐕",
"equestrian": "🏇",
"field_hockey": "🏑",
"free_flying": "",
"fitness": "",
"golf": "⛳",
"gymnastics": "",
"handball": "",
"horse_racing": "🏇",
"hockey": "",
"ice_hockey": "🏒",
"ice_skating": "⛸",
"model_aerodrome": "✈",
"motocross": "🏍",
"motor": "🏎",
"multi": "",
"netball": "",
"rugby": "🏉",
"rugby_league": "🏉",
"rugby_union": "🏉",
"running": "🏃",
"sailing": "⛵",
"scuba_diving": "",
"shooting": "🔫",
"skateboard": "",
"skiing": "",
"soccer": "⚽",
"surfing": "🏄",
"swimming": "🏊",
"table_tennis": "🏓",
"tennis": "🎾",
"volleyball": "🏐",
"weightlifting": "🏋"
},
"filter": {
"sport": {
"name": "{{ keyTrans('sport') }}",
"type": "checkbox",
"show_default": "true",
"op": "has",
"values": "{% set list = [] %}{% for t, v in const %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('sport', t) }}</option>{% endfor %}<option value='other' query='nwr[sport][sport!~\"^({{ list|join('|') }})$\"]'>{{ trans('other') }}</option>"
}
}
}