{ "type": "overpass", "name": { "de": "Schwimmen und Baden", "en": "Swimming and bathing", "fr": "Natation/Baignade/Bains", "pt-br": "Natação e banho" }, "query": { "13": [ "(", "nwr[leisure=swimming_area];", "nwr[natural~\"^(water)\"][sport~\"^(|.*;)swimming(.*|)$\"];", "nwr[natural~\"^(beach)\"];", "nwr[leisure~\"^(water_park|beach_resort)$\"];", "nwr[leisure=sports_centre][sport~\"^(|.*;)swimming(.*|)$\"];", "nwr[amenity=public_bath];", "nwr[tourism=spa_resort];", ")" ], "16": [ "(", "nwr[leisure=swimming_area];", "nwr[natural~\"^(water)\"][sport~\"^(|.*;)swimming(.*|)$\"];", "nwr[natural~\"^(beach)\"];", "nwr[leisure~\"^(water_park|beach_resort)$\"];", "nwr[leisure=sports_centre][sport~\"^(|.*;)swimming(;.*|)$\"];", "nwr[amenity=public_bath];", "nwr[tourism=spa_resort];", "", "nwr[leisure=swimming_pool][access!=private];", "nwr[leisure=sauna];", ")" ] }, "feature": { "pre": [ "{% set k = null %}{% set v = null %}{% set append = null %}", "{% if tags.amenity == 'public_bath' %}", " {% set k = 'amenity' %}", " {% set v = 'public_bath' %}", " {% if attribute(tags, 'bath:type') %}{% set append = tagTrans('bath:type', attribute(tags, 'bath:type')) %}{% endif %}", "{% elseif tags.tourism == 'spa_resort' %}", " {% set k = 'tourism' %}", " {% set v = tags.tourism %}", "{% elseif tags.leisure == 'sauna' %}", " {% set k = 'leisure' %}", " {% set v = tags.leisure %}", " {% if tags.sauna and tags.sauna != 'yes' %}{% set append = tagTransList('sauna', tags.sauna) %}{% endif %}", "{% elseif tags.leisure == 'sports_centre' %}", " {% set k = 'leisure' %}", " {% set v = tags.leisure %}", " {% set append = tagTrans('sport', 'swimming') %}", "{% elseif tags.leisure %}", " {% set k = 'leisure' %}", " {% set v = tags.leisure %}", "{% elseif tags.natural %}", " {% set k = 'natural' %}", " {% set v = tags.natural %}", " {% if tags.sport %}{% set append = tagTrans('sport', 'swimming') %}{% endif %}", "{% endif %}" ], "description": [ "{{ tagTrans(k, v) }}", "{% if append %}({{ append }}){% endif %}" ], "markerSign": "{{ const[k ~ '=' ~ v].sign|raw }}", "priority": "{% if tags.name %}0{% else %}1{% endif %}" }, "info": [ "
{{ markerCircle({})|raw }} {{ data.sign|raw }} | ",
" ", " {{ keyTrans(value) }}", " {% if data.append %}({{ trans(data.append) }}){% endif %}", " | ", "