Skip to content

Commit

Permalink
Adjust syntax to try and fix issue with __not__ not working
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Jul 15, 2024
1 parent 956ec78 commit 0e5c6da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions renderer/layers/trails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ layers:
- trail: yes
# gather ways we think might be trails based on common tagging patterns
- __all__:
- __any__:
__any__:
- highway:
- bridleway
- path
Expand All @@ -40,18 +40,18 @@ layers:
snowmobile: __any__
wheelchair: __any__
- __all__:
- highway:
highway:
- footway
- steps
- __not__:
__not__:
# ignore sidewalks, crossings, access aisles, etc.
footway: __any__
- __all__:
- highway: cycleway
- __not__:
highway: cycleway
__not__:
# ignore bike lanes that are part of roads
cycleway: lane
- __not__:
__not__:
__any__:
# exclude anything indoors
indoor: __any__
Expand Down
6 changes: 3 additions & 3 deletions renderer/layers/water_trails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ layers:
include_when:
&waterway_filter
__all__:
- waterway:
waterway:
- river
- stream
- tidal_channel
Expand All @@ -155,8 +155,8 @@ layers:
- fairway
- link
- flowline
- canoe: __any__
- __not__:
canoe: __any__
__not__:
indoor: __any__
attributes:
&waterway_attributes
Expand Down

0 comments on commit 0e5c6da

Please sign in to comment.