Skip to content

Commit

Permalink
Add park polygons to trail tiles since we want to visualize things li…
Browse files Browse the repository at this point in the history
…ke access and operator in OTM
  • Loading branch information
quincylvania committed Aug 5, 2024
1 parent 9b59b6b commit 9454612
Showing 1 changed file with 26 additions and 16 deletions.
42 changes: 26 additions & 16 deletions renderer/layers/trails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,22 +403,6 @@ layers:
- guidepost
man_made: cairn
attributes: *poi_attributes
# gather protected areas as points
- source: osm
geometry: polygon_centroid_if_convex
min_zoom: 4
min_size: 15
include_when:
__all__:
- name: __any__
- __any__:
- leisure:
- park
- nature_reserve
- boundary:
- national_park
- protected_area
attributes: *poi_attributes
- source: osm
geometry: point
min_zoom: 8
Expand Down Expand Up @@ -486,6 +470,32 @@ layers:
monitoring:tide_gauge: yes
monitoring:flow_rate: yes
attributes: *poi_attributes
- id: park
features:
# gather protected areas as polygons
- source: osm
geometry: polygon
min_zoom: 4
min_size: 0.5
include_when:
&parks_filter
__all__:
- name: __any__
- __any__:
- leisure:
- park
- nature_reserve
- boundary:
- national_park
- protected_area
attributes: *poi_attributes
# gather protected areas as points
- source: osm
geometry: polygon_centroid_if_convex
min_zoom: 4
min_size: 15
include_when: *parks_filter
attributes: *poi_attributes
args:
area:
description: Geofabrik area to download
Expand Down

0 comments on commit 9454612

Please sign in to comment.