Skip to content

Commit d6ce0a7

Browse files
authored
Change min_zoom of canals (#2098)
add boat=yes to canals when present and update min_zoom for canals to 11 when boat=yes not present
1 parent e78cb2a commit d6ce0a7

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

yaml/water.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,18 @@ filters:
144144
kind: swimming_pool
145145
table: osm
146146
- filter: {waterway: canal}
147-
min_zoom: 9
147+
min_zoom:
148+
case:
149+
- when: { boat: 'yes' }
150+
then: 9
151+
- else: 11
148152
output:
149153
<<: *water_standard_properties_osm
150154
kind: canal
155+
boat:
156+
case:
157+
- when: { boat: 'yes' }
158+
then: 'yes'
151159
table: osm
152160
- filter: {waterway: river}
153161
min_zoom: 9

0 commit comments

Comments
 (0)