Main categories of OpenStreetBrowser with public transport zoom level
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.

67 lines
3.0 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  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": "Gasztronómia",
  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|ice_cream|pub|restaurant)$'];way[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];relation[amenity~'^(bar|biergarten|cafe|fast_food|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. "</ul>"
  34. ],
  35. "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 %}"
  36. },
  37. "filter": {
  38. "name": {
  39. "toCheck": [ "name", "operator", "amenity" ],
  40. "name": "tag:name",
  41. "type": "text",
  42. "op": "strsearch"
  43. },
  44. "amenity": {
  45. "type": "select",
  46. "values": [
  47. "bar",
  48. "biergarten",
  49. "cafe",
  50. "fast_food",
  51. "ice_cream",
  52. "pub"
  53. ],
  54. "op": "="
  55. },
  56. "cuisine": {
  57. "type": "autocomplete",
  58. "values": [ "afghan", "arab", "asian", "australian", "austrian", "barbecue", "burger", "cake", "caribbean", "caribean", "chinese", "coffee", "coffee_shop", "crepe", "empanada", "fish_and_chips", "french", "fried_food", "friture", "greek", "gyros", "ice_cream", "indian", "international", "italian", "japanese", "juice", "kebab", "korean", "local", "mexican", "noodles", "pasta", "pie", "pizza", "regional", "salad", "sandwich", "sausage", "seafood", "soup", "spanish", "steak_house", "sushi", "thai", "turkish", "vegan", "vegetarian", "vietnamese" ],
  59. "op": "has"
  60. },
  61. "diet": {
  62. "type": "autocomplete",
  63. "values": [ "diet:vegan", "diet:vegetarian", "diet:pescetarian", "diet:lacto_vegetarian", "diet:ovo_vegetarian", "diet:fruitarian", "diet:raw", "diet:gluten_free", "diet:dairy_free", "diet:lactose_free", "diet:halal", "diet:kosher" ],
  64. "op": "has_key_value"
  65. }
  66. }
  67. }