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.
113 lines
3.6 KiB
113 lines
3.6 KiB
{
|
|
"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>"
|
|
}
|
|
}
|
|
}
|