Browse Source

water: waterway=drain

pedestrian
parent
commit
0ddd3c7c27
  1. 8
      water.json

8
water.json

@ -51,7 +51,7 @@
"0", "0",
"{% elseif tags.waterway == 'river' %}", "{% elseif tags.waterway == 'river' %}",
"1", "1",
"{% elseif tags.waterway == 'stream' %}",
"{% elseif tags.waterway == 'stream' or tags.waterway == 'drain' %}",
"3", "3",
"{% elseif tags.waterway == 'ditch' %}", "{% elseif tags.waterway == 'ditch' %}",
"5", "5",
@ -63,7 +63,7 @@
"width": [ "width": [
"{% if tags.waterway == 'river' %}", "{% if tags.waterway == 'river' %}",
"4", "4",
"{% elseif tags.waterway == 'stream' %}",
"{% elseif tags.waterway == 'stream' or tags.waterway == 'drain' %}",
"2", "2",
"{% elseif tags.waterway == 'ditch' %}", "{% elseif tags.waterway == 'ditch' %}",
"1", "1",
@ -81,7 +81,7 @@
"{% endif %}" "{% endif %}"
], ],
"text": [ "text": [
"{% if type=='way' and tags.waterway in [ 'river', 'stream', 'canal', 'ditch', 'wadi', 'drystream' ] %}",
"{% if type=='way' and tags.waterway in [ 'river', 'stream', 'canal', 'ditch', 'wadi', 'drystream', 'drain' ] %}",
"{{ tags.name }} ➔ ", "{{ tags.name }} ➔ ",
"{% endif %}" "{% endif %}"
], ],
@ -102,7 +102,7 @@
"{% if map.zoom >= 13 %}", "{% if map.zoom >= 13 %}",
" <tr>", " <tr>",
" <td>{{ markerLine(evaluate({ \"waterway\": \"stream\" }))|raw }}</td>", " <td>{{ markerLine(evaluate({ \"waterway\": \"stream\" }))|raw }}</td>",
" <td>{{ tagTrans('waterway', 'stream') }}</td>",
" <td>{{ tagTrans('waterway', 'stream') }}, {{ tagTrans('waterway', 'drain') }}</td>",
" </tr>", " </tr>",
" <tr>", " <tr>",
" <td>{{ markerLine(evaluate({ \"waterway\": \"ditch\" }))|raw }}</td>", " <td>{{ markerLine(evaluate({ \"waterway\": \"ditch\" }))|raw }}</td>",

Loading…
Cancel
Save