Skip to content

Commit

Permalink
Reduce duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Aug 5, 2024
1 parent 9454612 commit 631502e
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions renderer/layers/trails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ layers:
geometry: point
min_zoom: 10
include_when:
&waterway_barriers_filter
natural: beaver_dam
waterway:
- dam
Expand All @@ -424,22 +425,12 @@ layers:
- source: osm
geometry: point_on_line
min_zoom: 10
include_when:
natural: beaver_dam
waterway:
- dam
- waterfall
- weir
include_when: *waterway_barriers_filter
attributes: *poi_attributes
- source: osm
geometry: polygon_centroid_if_convex
min_zoom: 10
include_when:
natural: beaver_dam
waterway:
- dam
- waterfall
- weir
include_when: *waterway_barriers_filter
attributes: *poi_attributes
- source: osm
geometry: line_centroid
Expand Down

0 comments on commit 631502e

Please sign in to comment.