Main categories of OpenStreetBrowser

gastro.json 5.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Gastronomía",
  5. "cs": "Stravování",
  6. "de": "Gastronomie",
  7. "el": "Γαστρονομία",
  8. "en": "Gastronomy",
  9. "fr": "Restauration",
  10. "hu": "Vendéglátás",
  11. "it": "Gastronomia",
  12. "ja": "食べ物",
  13. "nl": "Gastronomie",
  14. "pl": "Gastronomia",
  15. "pt": "Restauração",
  16. "pt-br": "Gastronomia",
  17. "ro": "Gastronomie",
  18. "ru": "Общепит",
  19. "uk": "Гастрономія"
  20. },
  21. "query": {
  22. "16": "(node[amenity~'^(bar|biergarten|cafe|fast_food|food_court|ice_cream|pub|restaurant)$'];way[amenity~'^(bar|biergarten|cafe|fast_food|food_court|ice_cream|pub|restaurant)$'];relation[amenity~'^(bar|biergarten|cafe|fast_food|food_court|ice_cream|pub|restaurant)$'];);"
  23. },
  24. "feature": {
  25. "description": "{{ tagTrans('amenity', tags.amenity) }}",
  26. "body": [
  27. "<ul>",
  28. " <li class='hasSymbol'>",
  29. " <i class=\"fa fa-cutlery\" aria-hidden=\"true\"></i>",
  30. " <span class='key'>{{ keyTrans('cuisine') }}:</span>",
  31. " <span class='value'>{{ tagTransList('cuisine', tags.cuisine)|default(trans('unknown')) }}</span>",
  32. " </li>",
  33. " {% set diets = tagsPrefix(tags, 'diet:') %}",
  34. " {% if diets %}",
  35. " <li class='hasSymbol'>",
  36. " <i class=\"fa fa-cutlery\" aria-hidden=\"true\"></i>",
  37. " <span class='key'>{{ keyTrans('diet') }}:</span>",
  38. " <span class='value'>",
  39. " {% for kv, k in diets %}",
  40. " {% set v = tags[k] %}",
  41. " <span title='{{ k ~ '=' ~ v }}' style='white-space: nowrap; margin-right: 0.5em;'>{% if v == 'no' %}✘ {% elseif v == 'only' %}❗{% else %}✔{% endif %}{{ keyTrans(k) }}</span>",
  42. " {% endfor %}",
  43. " </span></li>",
  44. " {% endif %}",
  45. "</ul>"
  46. ],
  47. "markerSign": "{% if tags.amenity=='bar' %}&#127864;{% elseif tags.amenity=='biergarten'%}&#127867;{% elseif tags.amenity=='cafe' %}&#9749;{% elseif tags.amenity=='fast_food' %}&#127828;{% elseif tags.amenity=='ice_cream' %}&#127848;{% elseif tags.amenity=='pub' %}&#127866;{% else %}&#127860;{% endif %}"
  48. },
  49. "filter": {
  50. "amenity": {
  51. "name": "{{ trans('filter:type') }}",
  52. "type": "select",
  53. "show_default": "true",
  54. "values": [
  55. "bar",
  56. "biergarten",
  57. "cafe",
  58. "fast_food",
  59. "food_court",
  60. "ice_cream",
  61. "pub",
  62. "restaurant"
  63. ],
  64. "valueName": "{{ tagTrans('amenity', value) }}",
  65. "op": "="
  66. },
  67. "cuisine_food": {
  68. "name": "{{ keyTrans('cuisine/food') }}",
  69. "type": "select",
  70. "key": "cuisine",
  71. "values": [ "barbecue", "burger", "casserole", "chicken", "couscous", "curry", "fish", "fish_and_chips", "fried_food", "friture", "gyros", "kebab", "noodle", "pasta", "pizza", "sandwich", "sausage", "seafood", "soup", "steak_house", "sub", "sushi", "tapas", "wings" ],
  72. "valueName": "{{ tagTrans('cuisine', value) }}",
  73. "op": "has"
  74. },
  75. "cuisine_dessert": {
  76. "name": "{{ keyTrans('cuisine/dessert') }}",
  77. "type": "select",
  78. "key": "cuisine",
  79. "values": [ "bagel", "biscuit", "bougatsa", "cake", "coffee_shop", "cookie", "crepe", "dessert", "donut", "empanada", "frozen_yogurt", "gingerbread", "ice_cream", "chimney_cake", "langos", "pancake", "pastry", "petit_four", "pie", "pogacha", "poppy_seed_roll", "profiterole", "punch_cake", "savory_pancakes", "strudel", "teahouse", "waffle" ],
  80. "valueName": "{{ tagTrans('cuisine', value) }}",
  81. "op": "has"
  82. },
  83. "cuisine_ethnicity": {
  84. "name": "{{ keyTrans('cuisine/ethnicity') }}",
  85. "type": "select",
  86. "key": "cuisine",
  87. "values": [ "afghan", "african", "american", "arab", "argentinian", "asian", "australian", "baiana", "balkan", "basque", "bavarian", "belarusan", "bolivian", "brazilian", "cantonese", "capixaba", "caribbean", "chinese", "croatian", "czech", "danish", "french", "gaucho", "german", "greek", "hawaiian", "hunan", "hungarian", "indian", "international", "iranian", "italian", "japanese", "jewish", "korean", "kyo_ryouri", "latin_american", "lebanese", "malagasy", "mediterranean", "mexican", "mineira", "new_mexican", "okinawa_ryori", "pakistani", "peruvian", "polish", "portuguese", "regional", "rhenish", "russian", "shandong", "sichuan", "spanish", "texan", "tex-mex", "thai", "turkish", "vietnamese", "westphalian" ],
  88. "valueName": "{{ tagTrans('cuisine', value) }}",
  89. "op": "has"
  90. },
  91. "diet": {
  92. "name": "{{ keyTrans('diet') }}",
  93. "type": "select",
  94. "values": {
  95. "*": {
  96. "name": "{{ repoTrans('Objects with diet information') }}",
  97. "query": "nwr[~\"^diet:\"~\".\"]"
  98. },
  99. "diet:vegan": {},
  100. "diet:vegetarian": {},
  101. "diet:pescetarian": {},
  102. "diet:lacto_vegetarian": {},
  103. "diet:ovo_vegetarian": {},
  104. "diet:fruitarian": {},
  105. "diet:raw": {},
  106. "diet:gluten_free": {},
  107. "diet:dairy_free": {},
  108. "diet:lactose_free": {},
  109. "diet:halal": {},
  110. "diet:kosher": {}
  111. },
  112. "valueName": "{{ keyTrans(value) }}",
  113. "op": "has_key_value"
  114. }
  115. }
  116. }