From ef629346ee00c9619b4bc0fbf3ff45d8866965d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sat, 5 Aug 2017 15:39:58 +0200 Subject: [PATCH] Category 'sport' --- index.json | 3 +++ sport.json | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 57 insertions(+), 2 deletions(-) diff --git a/index.json b/index.json index ef8e0725..312996b2 100644 --- a/index.json +++ b/index.json @@ -33,6 +33,9 @@ { "id": "leisure" }, + { + "id": "sport" + }, { "id": "children" } diff --git a/sport.json b/sport.json index a42a7106..b5ea6394 100644 --- a/sport.json +++ b/sport.json @@ -1,16 +1,68 @@ { + "type": "overpass", "name": { "ast": "Deportes", "cs": "Sport", - "de": "anderer Sport", + "de": "Sport", "el": "Άθληση", "en": "Sport", "fr": "Other Sport", "hu": "Sport", - "it": "Altri sport", + "it": "Sport", "ja": "スポーツ", "nl": "Sport", "ru": "Спорт", "uk": "Спорт. Інше." + }, + "query": { + "14": "(node[sport];way[sport];relation[sport])" + }, + "feature": { + "description": "{{ tagTransList('sport', tags.sport) }}", + "body": "{{ tagTransList('sport', tags.sport) }}", + "markerSign": "{% set firstSport = tags.sport|split(';')[0] %}\n{{ const[firstSport] }}", + "title": "{{ localizedTag(tags, 'name') |default(localizedTag(tags, 'operator')) |default(tagTransList('sport', tags.sport)) }}" + }, + "const": { + "9pin": "🎳", + "10pin": "🎳", + "american_football": "🏈", + "archery": "🎯", + "australian_football": "🏈", + "badminton": "🏸", + "baseball": "⚾", + "basketball": "🏀", + "beachvolleyball": "🏐", + "billiards": "🎱", + "bmx": "🚲", + "canadian_football": "🏈", + "chess": "♚", + "cockfighting": "🐓", + "cricket": "🏏", + "cycling": "🚲", + "darts": "🎯", + "dog_racing": "🐕", + "equestrian": "🏇", + "field_hockey": "🏑", + "golf": "⛳", + "horse_racing": "🏇", + "ice_hockey": "🏒", + "ice_skating": "⛸", + "model_aerodrome": "✈", + "motocross": "🏍", + "motor": "🏎", + "rugby": "🏉", + "rugby_leage": "🏉", + "rugby_union": "🏉", + "running": "🏃", + "sailing": "⛵", + "shooting": "🔫", + "soccer": "⚽", + "surfing": "🏄", + "swimming": "🏊", + "table_tennis": "🏓", + "tennis": "🎾", + "volleyball": "🏐", + "weightlifting": "🏋" } }