|
|
@ -5,16 +5,34 @@ |
|
|
|
"de": "Gewässer" |
|
|
|
}, |
|
|
|
"query": { |
|
|
|
"12": [ |
|
|
|
"10": [ |
|
|
|
"(", |
|
|
|
"way[waterway~\"^(river|canal)$\"];", |
|
|
|
"way[natural~\"^(divide)$\"];", |
|
|
|
"way[natural=water][water~\"^(lake|lagoon|reservoir|canal)$\"];", |
|
|
|
"relation[natural=water][type=multipolygon][water~\"^(lake|lagoon|reservoir|canal)$\"];", |
|
|
|
")" |
|
|
|
], |
|
|
|
"13": [ |
|
|
|
"(", |
|
|
|
"node[natural~\"^(water|divide)$\"];", |
|
|
|
"way[natural~\"^(water|divide)$\"];", |
|
|
|
"relation[type=multipolygon][natural=water];", |
|
|
|
"relation[type=multipolygon][waterway=riverbank];", |
|
|
|
"way[waterway];", |
|
|
|
")" |
|
|
|
] |
|
|
|
}, |
|
|
|
"feature": { |
|
|
|
"description": [ |
|
|
|
"{% if tags.waterway %}", |
|
|
|
"{{ tagTrans('waterway', tags.waterway) }}", |
|
|
|
"{% elseif tags.water %}", |
|
|
|
"{{ tagTrans('water', tags.water) }}", |
|
|
|
"{% elseif tags.natural %}", |
|
|
|
"{{ tagTrans('natural', tags.natural) }}", |
|
|
|
"{% endif %}" |
|
|
|
], |
|
|
|
"markerSign": null, |
|
|
|
"listMarkerSymbol": [ |
|
|
|
"{% if tags.natural == 'water' %}", |
|
|
@ -25,8 +43,12 @@ |
|
|
|
], |
|
|
|
"style": { |
|
|
|
"weight": [ |
|
|
|
"{% if tags.waterway == 'stream' %}", |
|
|
|
"1.5", |
|
|
|
"{% if tags.waterway == 'river' %}", |
|
|
|
"4", |
|
|
|
"{% elseif tags.waterway == 'stream' %}", |
|
|
|
"2", |
|
|
|
"{% elseif tags.waterway == 'ditch' %}", |
|
|
|
"1", |
|
|
|
"{% else %}", |
|
|
|
"3", |
|
|
|
"{% endif %}" |
|
|
|