{ "type": "overpass", "name": { "ca": "Cossos d'aigua", "cs": "Vodní plochy", "de": "Gewässer", "en": "Waterbodies", "es": "Cuerpos de agua", "fr": "Hydrographie", "gl": "Hidrografía", "hu": "Vizek", "it": "Masse d'acqua", "ja": "水系", "nb": "Vannflater", "nl": "Oppervlaktewater", "oc": "Aigas e rius", "pl": "Wodne", "pt": "Massas de água", "pt-br": "Hidrografia", "ru": "Водоемы", "sr": "Водене површине", "tr": "Su kütleleri" }, "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') }} | ", "