Skip to content

Commit

Permalink
Revert "Collect parks and other protected areas as centroid points"
Browse files Browse the repository at this point in the history
This reverts commit 6a58f39.
  • Loading branch information
quincylvania committed Jul 23, 2024
1 parent 3feda6f commit 9cf4981
Showing 1 changed file with 2 additions and 36 deletions.
38 changes: 2 additions & 36 deletions renderer/layers/trails_poi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
schema_name: OSM US Trail POIs
schema_description: Trailheads, ranger stations, route markers, guideposts, cairns, and protected areas.
schema_description: Trailheads, ranger stations, route markers, and guideposts.
attribution: <a href="https://www.openstreetmap.org/copyright" target="_blank">&copy; OpenStreetMap contributors</a>
sources:
osm:
Expand All @@ -9,7 +9,7 @@ sources:
layers:
- id: trail_poi
features:
# collect ranger stations and trailheads mapped as nodes
# collect ranger stations, trailheads, and put-ins mapped as nodes
- source: osm
geometry: point
min_zoom: 7
Expand Down Expand Up @@ -99,7 +99,6 @@ layers:
include_when:
amenity: ranger_station
attributes: *trail_poi_attributes
# collect route markers, guideposts, and cairns mapped as nodes
- source: osm
geometry: point
# route markers are abundant so restrict to higher zooms
Expand All @@ -110,39 +109,6 @@ layers:
- guidepost
man_made: cairn
attributes: *trail_poi_attributes
# collect protected areas as points
- source: osm
geometry: polygon_centroid_if_convex
min_zoom: 4
min_tile_cover_size: 0.2
include_when:
leisure:
- park
- nature_reserve
boundary:
- national_park
- protected_area
attributes:
- key: OSM_ID
value: "${feature.id}"
- key: OSM_TYPE
value: "${feature.osm_type}"
- key: OSM_VERSION
value: "${feature.osm_version}"
- key: OSM_TIMESTAMP
value: "${feature.osm_timestamp}"
- key: OSM_CHANGESET
value: "${feature.osm_changeset}"
- key: OSM_USER_NAME
value: "${feature.osm_user_name}"
- key: access
tag_value: access
- key: leisure
tag_value: leisure
- key: boundary
tag_value: boundary
- key: protected_area
tag_value: protected_area
args:
area:
description: Geofabrik area to download
Expand Down

0 comments on commit 9cf4981

Please sign in to comment.