Main categories of OpenStreetBrowser with support for whitewater
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

6 years ago
  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Deportes",
  5. "cs": "Sport",
  6. "de": "Sport",
  7. "el": "Άθληση",
  8. "en": "Sport",
  9. "fr": "Sports",
  10. "hu": "Sport",
  11. "it": "Sport",
  12. "ja": "スポーツ",
  13. "nl": "Sport",
  14. "pt": "Desporto",
  15. "pt-br": "Esportes",
  16. "ru": "Спорт",
  17. "uk": "Спорт. Інше."
  18. },
  19. "query": {
  20. "14": "(node[sport];way[sport];relation[sport];)"
  21. },
  22. "feature": {
  23. "title": "{{ localizedTag(tags, 'name') |default(localizedTag(tags, 'operator')) |default(tagTransList('sport', tags.sport)) }}",
  24. "description": "{{ tagTransList('sport', tags.sport) }}",
  25. "markerSign": [
  26. "{% set firstSport = tags.sport|split(';')[0] %}",
  27. "{{ const[firstSport] }}"
  28. ]
  29. },
  30. "const": {
  31. "9pin": "🎳",
  32. "10pin": "🎳",
  33. "american_football": "🏈",
  34. "archery": "🎯",
  35. "athletics": "",
  36. "australian_football": "🏈",
  37. "badminton": "🏸",
  38. "baseball": "⚾",
  39. "basketball": "🏀",
  40. "beachvolleyball": "🏐",
  41. "billiards": "🎱",
  42. "boules": "",
  43. "bowls": "",
  44. "bmx": "🚲",
  45. "cricket": "",
  46. "canadian_football": "🏈",
  47. "chess": "♚",
  48. "climbing": "🏔",
  49. "cockfighting": "🐓",
  50. "cricket": "🏏",
  51. "cycling": "🚲",
  52. "darts": "🎯",
  53. "dog_racing": "🐕",
  54. "equestrian": "🏇",
  55. "field_hockey": "🏑",
  56. "free_flying": "",
  57. "fitness": "",
  58. "golf": "⛳",
  59. "gymnastics": "",
  60. "handball": "",
  61. "horse_racing": "🏇",
  62. "hockey": "",
  63. "ice_hockey": "🏒",
  64. "ice_skating": "⛸",
  65. "model_aerodrome": "✈",
  66. "motocross": "🏍",
  67. "motor": "🏎",
  68. "multi": "",
  69. "netball": "",
  70. "rugby": "🏉",
  71. "rugby_league": "🏉",
  72. "rugby_union": "🏉",
  73. "running": "🏃",
  74. "sailing": "⛵",
  75. "scuba_diving": "",
  76. "shooting": "🔫",
  77. "skateboard": "",
  78. "skiing": "",
  79. "soccer": "⚽",
  80. "surfing": "🏄",
  81. "swimming": "🏊",
  82. "table_tennis": "🏓",
  83. "tennis": "🎾",
  84. "volleyball": "🏐",
  85. "weightlifting": "🏋"
  86. },
  87. "filter": {
  88. "sport": {
  89. "name": "{{ keyTrans('sport') }}",
  90. "type": "checkbox",
  91. "show_default": "true",
  92. "op": "has",
  93. "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>"
  94. }
  95. }
  96. }