Skip to content

Commit

Permalink
Fix issue with collecting way too much data
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Jul 16, 2024
1 parent 0e5c6da commit e792081
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 22 deletions.
33 changes: 16 additions & 17 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,27 +40,26 @@ layers:
snowmobile: __any__
wheelchair: __any__
- __all__:
highway:
- highway:
- footway
- steps
__not__:
- __not__:
# ignore sidewalks, crossings, access aisles, etc.
footway: __any__
- footway: __any__
- __all__:
highway: cycleway
__not__:
- highway: cycleway
- __not__:
# ignore bike lanes that are part of roads
cycleway: lane
__not__:
__any__:
# exclude anything indoors
indoor: __any__
# exclude common combinations that probably aren't trails
man_made: pier
public_transport: platform
railway: platform
# exclude anything explicitly marked as not a trail
trail: no
- cycleway: lane
- __not__:
# exclude anything indoors
- indoor: __any__
# exclude common combinations that probably aren't trails
- man_made: pier
- public_transport: platform
- railway: platform
# exclude anything explicitly marked as not a trail
- trail: no
attributes:
&trail_attributes
- key: OSM_ID
Expand Down
10 changes: 5 additions & 5 deletions renderer/layers/water_trails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ layers:
min_zoom: *min_zoom
include_when:
&waterway_filter
__all__:
waterway:
- __all__:
- waterway:
- river
- stream
- tidal_channel
Expand All @@ -155,9 +155,9 @@ layers:
- fairway
- link
- flowline
canoe: __any__
__not__:
indoor: __any__
- canoe: __any__
- __not__:
- indoor: __any__
attributes:
&waterway_attributes
- key: OSM_ID
Expand Down

0 comments on commit e792081

Please sign in to comment.