{ "type": "overpass", "name": { "de": "Gewässer", "en": "Waterbodies", "fr": "Hydrographie", "hu": "Vizek", "pt": "Massas de água", "pt-br": "Hidrografia" }, "query": { "10": [ "(", "way[waterway~\"^(river|canal)$\"];", "nwr[natural~\"^(divide|bay|strait)$\"];", "way[natural=water][water~\"^(lake|lagoon|reservoir|canal)$\"];", "relation[natural=water][type=multipolygon][water~\"^(lake|lagoon|reservoir|canal)$\"];", ")" ], "13": [ "(", "nwr[natural~\"^(water|divide|bay|strait|spring|hot_spring|geyser)$\"];", "relation[type=multipolygon][natural=water];", "relation[type=multipolygon][waterway=riverbank];", "nwr[waterway];", ")" ] }, "feature": { "pre": [ "{% if tags.waterway %}", " {% set key = 'waterway' %}", " {% set value = tags.waterway %}", "{% elseif tags.water %}", " {% set key = 'water' %}", " {% set value = tags.water %}", "{% elseif tags.natural %}", " {% set key = 'natural' %}", " {% set value = tags.natural %}", "{% endif %}", "{% set kv = key ~ '=' ~ value %}", "{% set data = const[kv]|default(const['natural=water']) %}" ], "description": [ "{{ tagTrans(key, value) }}" ], "body": [ "
",
" {% if data.symbol == 'pointer' %}",
" {{ markerCircle({ fillColor: '#3388ff' })|raw }} {{ data.sign|raw }} ",
" {% elseif data.symbol == 'polygon' %}",
" {{ markerPolygon(data.style)|raw }}",
" {% elseif data.symbol == 'line' %}",
" {{ markerLine(data.style)|raw }}",
" {% endif %}",
" | ",
" {{ tagTrans(k) }} | ", "
{{ markerLine({ width: 3, color: '#3388ff', dashArray: '5,5', lineCap: 'butt' })|raw }} | ", "{{ keyTrans('intermittent') }} | ", "