You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
2.8 KiB
96 lines
2.8 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"ast": "Deportes",
|
|
"cs": "Sport",
|
|
"de": "Sport",
|
|
"el": "Άθληση",
|
|
"en": "Sport",
|
|
"fr": "Sports",
|
|
"hu": "Sport",
|
|
"it": "Sport",
|
|
"ja": "スポーツ",
|
|
"nl": "Sport",
|
|
"pt": "Desporto",
|
|
"pt-br": "Esportes",
|
|
"ru": "Спорт",
|
|
"uk": "Спорт. Інше."
|
|
},
|
|
"query": {
|
|
"14": "(node[sport];way[sport];relation[sport];)"
|
|
},
|
|
"feature": {
|
|
"title": "{{ localizedTag(tags, 'name') |default(localizedTag(tags, 'operator')) |default(tagTransList('sport', tags.sport)) }}",
|
|
"description": "{{ 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": "🐓",
|
|
"cricket": "🏏",
|
|
"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>"
|
|
}
|
|
}
|
|
}
|