Main categories of OpenStreetBrowser
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.

106 lines
3.4 KiB

5 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. "description": [
  24. "{% if tags.leisure %}{{ tagTrans('leisure', tags.leisure) }}",
  25. "{% elseif tags.amenity %}{{ tagTrans('amenity', tags.amenity) }}",
  26. "{% elseif tags.shop %}{{ tags.shop == 'yes' ? keyTrans('shop') : tagTrans('shop', tags.shop) }}",
  27. "{% elseif tags.landuse %}{{ tagTrans('landuse', tags.landuse) }}",
  28. "{% elseif tags.building %}{{ tags.building == 'yes' ? keyTrans('building') : tagTrans('building', tags.building) }}",
  29. "{% elseif tags.highway %}{{ tagTrans('highway', tags.highway) }}",
  30. "{% else %}{{ keyTrans('sport') }}",
  31. "{% endif %}"
  32. ],
  33. "listDetails": "{{ tagTransList('sport', tags.sport) }}",
  34. "body": "{{ keyTrans('sport') }}: {{ tagTransList('sport', tags.sport) }}",
  35. "markerSign": [
  36. "{% set firstSport = tags.sport|split(';')[0] %}",
  37. "{{ const[firstSport] }}"
  38. ]
  39. },
  40. "const": {
  41. "9pin": "🎳",
  42. "10pin": "🎳",
  43. "american_football": "🏈",
  44. "archery": "🎯",
  45. "athletics": "",
  46. "australian_football": "🏈",
  47. "badminton": "🏸",
  48. "baseball": "⚾",
  49. "basketball": "🏀",
  50. "beachvolleyball": "🏐",
  51. "billiards": "🎱",
  52. "boules": "",
  53. "bowls": "",
  54. "bmx": "🚲",
  55. "cricket": "",
  56. "canadian_football": "🏈",
  57. "chess": "♚",
  58. "climbing": "🏔",
  59. "cockfighting": "🐓",
  60. "cricket": "🏏",
  61. "cycling": "🚲",
  62. "darts": "🎯",
  63. "dog_racing": "🐕",
  64. "equestrian": "🏇",
  65. "field_hockey": "🏑",
  66. "free_flying": "",
  67. "fitness": "",
  68. "golf": "⛳",
  69. "gymnastics": "",
  70. "handball": "",
  71. "horse_racing": "🏇",
  72. "hockey": "",
  73. "ice_hockey": "🏒",
  74. "ice_skating": "⛸",
  75. "model_aerodrome": "✈",
  76. "motocross": "🏍",
  77. "motor": "🏎",
  78. "multi": "",
  79. "netball": "",
  80. "rugby": "🏉",
  81. "rugby_league": "🏉",
  82. "rugby_union": "🏉",
  83. "running": "🏃",
  84. "sailing": "⛵",
  85. "scuba_diving": "",
  86. "shooting": "🔫",
  87. "skateboard": "",
  88. "skiing": "",
  89. "soccer": "⚽",
  90. "surfing": "🏄",
  91. "swimming": "🏊",
  92. "table_tennis": "🏓",
  93. "tennis": "🎾",
  94. "volleyball": "🏐",
  95. "weightlifting": "🏋"
  96. },
  97. "filter": {
  98. "sport": {
  99. "name": "{{ keyTrans('sport') }}",
  100. "type": "checkbox",
  101. "show_default": "true",
  102. "op": "has",
  103. "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>"
  104. }
  105. }
  106. }