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.

56 lines
2.5 KiB

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. "amenity": {
  39. "type": "select",
  40. "values": [
  41. "bar",
  42. "biergarten",
  43. "cafe",
  44. "fast_food",
  45. "ice_cream",
  46. "pub"
  47. ],
  48. "op": "="
  49. },
  50. "cuisine": {
  51. "type": "autocomplete",
  52. "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" ],
  53. "op": "has"
  54. }
  55. }
  56. }