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.

80 lines
2.4 KiB

  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. "australian_football": "🏈",
  36. "badminton": "🏸",
  37. "baseball": "⚾",
  38. "basketball": "🏀",
  39. "beachvolleyball": "🏐",
  40. "billiards": "🎱",
  41. "bmx": "🚲",
  42. "canadian_football": "🏈",
  43. "chess": "♚",
  44. "cockfighting": "🐓",
  45. "cricket": "🏏",
  46. "cycling": "🚲",
  47. "darts": "🎯",
  48. "dog_racing": "🐕",
  49. "equestrian": "🏇",
  50. "field_hockey": "🏑",
  51. "golf": "⛳",
  52. "horse_racing": "🏇",
  53. "ice_hockey": "🏒",
  54. "ice_skating": "⛸",
  55. "model_aerodrome": "✈",
  56. "motocross": "🏍",
  57. "motor": "🏎",
  58. "rugby": "🏉",
  59. "rugby_leage": "🏉",
  60. "rugby_union": "🏉",
  61. "running": "🏃",
  62. "sailing": "⛵",
  63. "shooting": "🔫",
  64. "soccer": "⚽",
  65. "surfing": "🏄",
  66. "swimming": "🏊",
  67. "table_tennis": "🏓",
  68. "tennis": "🎾",
  69. "volleyball": "🏐",
  70. "weightlifting": "🏋"
  71. },
  72. "filter": {
  73. "sport": {
  74. "name": "{{ keyTrans('sport') }}",
  75. "type": "select",
  76. "show_default": "true",
  77. "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>"
  78. }
  79. }
  80. }