{ "type": "overpass", "name": { "de": "Rauchfreie Gastronomie", "en": "Smokefree Gastronomy", "fr": "Restauration sans tabac", "pt": "Restauração livre de tabaco", "pt-br": "Gastronomia sem fumo" }, "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": { "pre": [ "{% if tags.smoking == 'yes' or tags.smoking == 'dedicated' %}", " {% set smoking_color='red' %}", " {% set smoking_icon='🚬' %}", "{% elseif tags.smoking == 'separated' or tags.smoking == 'isolated' %}", " {% set smoking_color='#ffdf00' %}", " {% set smoking_icon='🚬' %}", "{% elseif tags.smoking == 'no' or tags.smoking == 'outside' or tags.smokefree == 'yes' %}", " {% set smoking_color='#00ff00' %}", " {% set smoking_icon='🚭' %}", "{% else %}", " {% set smoking_color='white' %}", " {% set smoking_icon='' %}", "{% endif %}" ], "description": "{{ tagTrans('amenity', tags.amenity) }}", "body": [ "
{{ markerCircle({ \"fillColor\": \"#00ff00\" })|raw }} | ", "{{ tagTrans('smoking', 'no') }}, {{ tagTrans('smoking', 'outside') }} | ", "
{{ markerCircle({ \"fillColor\": \"#ffdf00\" })|raw }} | ", "{{ tagTrans('smoking', 'separated') }}, {{ tagTrans('smoking', 'isolated') }} | ", "
{{ markerCircle({ \"fillColor\": \"red\" })|raw }} | ", "{{ tagTrans('smoking', 'yes') }}, {{ tagTrans('smoking', 'dedicated') }} | ", "
{{ markerCircle({ \"fillColor\": \"white\" })|raw }} | ", "{{ trans('unknown') }} | ", "