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.

113 lines
3.6 KiB

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