forked from OpenStreetBrowser/main
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.
80 lines
3.8 KiB
80 lines
3.8 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"ast": "Gastronomía",
|
|
"cs": "Stravování",
|
|
"de": "Gastronomie",
|
|
"el": "Γαστρονομία",
|
|
"en": "Gastronomy",
|
|
"fr": "Restauration",
|
|
"hu": "Vendéglátás",
|
|
"it": "Gastronomia",
|
|
"ja": "食べ物",
|
|
"nl": "Gastronomie",
|
|
"pl": "Gastronomia",
|
|
"pt": "Restauração",
|
|
"pt-br": "Gastronomia",
|
|
"ro": "Gastronomie",
|
|
"ru": "Общепит",
|
|
"uk": "Гастрономія"
|
|
},
|
|
"query": {
|
|
"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)$'];);"
|
|
},
|
|
"feature": {
|
|
"description": "{{ tagTrans('amenity', tags.amenity) }}",
|
|
"body": [
|
|
"<ul>",
|
|
" <li class='hasSymbol'>",
|
|
" <i class=\"fa fa-cutlery\" aria-hidden=\"true\"></i>",
|
|
" <span class='key'>{{ keyTrans('cuisine') }}:</span>",
|
|
" <span class='value'>{{ tagTransList('cuisine', tags.cuisine)|default(trans('unknown')) }}</span>",
|
|
" </li>",
|
|
" {% set diets = tagsPrefix(tags, 'diet:') %}",
|
|
" {% if diets %}",
|
|
" <li class='hasSymbol'>",
|
|
" <i class=\"fa fa-cutlery\" aria-hidden=\"true\"></i>",
|
|
" <span class='key'>{{ keyTrans('diet') }}:</span>",
|
|
" <span class='value'>",
|
|
" {% for kv, k in diets %}",
|
|
" {% set v = tags[k] %}",
|
|
" <span title='{{ k ~ '=' ~ v }}' style='white-space: nowrap; margin-right: 0.5em;'>{% if v == 'no' %}✘ {% elseif v == 'only' %}❗{% else %}✔{% endif %}{{ keyTrans(k) }}</span>",
|
|
" {% endfor %}",
|
|
" </span></li>",
|
|
" {% endif %}",
|
|
"</ul>"
|
|
],
|
|
"markerSign": "{% if tags.amenity=='bar' %}🍸{% elseif tags.amenity=='biergarten'%}🍻{% elseif tags.amenity=='cafe' %}☕{% elseif tags.amenity=='fast_food' %}🍔{% elseif tags.amenity=='ice_cream' %}🍨{% elseif tags.amenity=='pub' %}🍺{% else %}🍴{% endif %}"
|
|
},
|
|
"filter": {
|
|
"amenity": {
|
|
"name": "{{ keyTrans('amenity') }}",
|
|
"type": "select",
|
|
"values": [
|
|
"bar",
|
|
"biergarten",
|
|
"cafe",
|
|
"fast_food",
|
|
"ice_cream",
|
|
"pub",
|
|
"restaurant"
|
|
],
|
|
"valueName": "{{ tagTrans('amenity', value) }}",
|
|
"op": "="
|
|
},
|
|
"cuisine": {
|
|
"name": "{{ keyTrans('cuisine') }}",
|
|
"type": "select",
|
|
"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" ],
|
|
"valueName": "{{ tagTrans('cuisine', value) }}",
|
|
"op": "has"
|
|
},
|
|
"diet": {
|
|
"name": "{{ keyTrans('diet') }}",
|
|
"type": "select",
|
|
"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" ],
|
|
"valueName": "{{ keyTrans(value) }}",
|
|
"op": "has_key_value"
|
|
}
|
|
}
|
|
}
|