Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove water filters #95

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 2 additions & 38 deletions refill-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1152,40 +1152,22 @@ layers:
draw:
polygons:
style: waves
visible: false
visible: true
order: global.feature_order
color: [[0, global.lightest_color], [12, global.lighter_color]]

lakes:
filter:
all:
- kind: [ocean, lake, water, riverbank, reservoir, swimming_pool]
any:
# limit show smaller landuse areas to higher zooms
- { $zoom: [1], area: { min: 10000000000 } }
- { $zoom: [2], area: { min: 7000000000 } }
# some weird natural earth scale set transition
- { $zoom: [3], area: { min: 5000000000 } }
- { $zoom: [4], area: { min: 300000000 } }
- { $zoom: [5], area: { min: 50000000 } }
- { $zoom: [6], area: { min: 50000000 } }
- { $zoom: [7], area: { min: 50000000 } }
- { $zoom: [8], area: { min: 50000000 } }
- { $zoom: [9], area: { min: 15000000 } }
- { $zoom: [10], area: { min: 4000000 } }
- { $zoom: [11], area: { min: 1000000 } }
- { $zoom: [12], area: { min: 250000 } }
- { $zoom: [13], area: { min: 150000 } }
- { $zoom: [14], area: { min: 40000 } }
- { $zoom: { min: 15 } }
draw:
polygons:
style: waves
visible: true
color: global.lighter_color

other-water-areas:
filter: { not: { kind: [ocean, lake, water, reservoir] }, $zoom: { min: 11 }, area: { min: 100 } }
filter: { not: { kind: [ocean, lake, water, reservoir] }, $zoom: { min: 11 } }
draw:
polygons:
style: waves
Expand Down Expand Up @@ -1219,24 +1201,6 @@ layers:
- boundary: true
- not: { kind: ocean }
- $zoom: { min: 8 }
any:
# limit show smaller landuse areas to higher zooms
- { $zoom: [1], area: { min: 10000000000 } }
- { $zoom: [2], area: { min: 7000000000 } }
# some weird natural earth scale set transition
- { $zoom: [3], area: { min: 5000000000 } }
- { $zoom: [4], area: { min: 300000000 } }
- { $zoom: [5], area: { min: 50000000 } }
- { $zoom: [6], area: { min: 50000000 } }
- { $zoom: [7], area: { min: 50000000 } }
- { $zoom: [8], area: { min: 50000000 } }
- { $zoom: [9], area: { min: 15000000 } }
- { $zoom: [10], area: { min: 4000000 } }
- { $zoom: [11], area: { min: 1000000 } }
- { $zoom: [12], area: { min: 250000 } }
- { $zoom: [13], area: { min: 150000 } }
- { $zoom: [14], area: { min: 40000 } }
- { $zoom: { min: 15 } }
draw:
lines:
style: coast
Expand Down