Skip to content

Commit

Permalink
Move ferry points to POI layer
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Aug 16, 2024
1 parent cc55a56 commit 390ab49
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions renderer/layers/trails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ layers:
features:
# gather trails as points so we can render markers for them at any zoom level
- source: osm
geometry: line_centroid
geometry: point_on_line
min_zoom: 7
include_when:
__all__:
Expand All @@ -289,7 +289,6 @@ layers:
- FIXME: __any__
- todo: __any__
- TODO: __any__
- route: ferry
attributes: *trail_attributes
- id: trail_poi
features:
Expand Down Expand Up @@ -413,6 +412,8 @@ layers:
tag_value: ref
- key: reservation
tag_value: reservation
- key: route
tag_value: route
- key: shelter_type
tag_value: shelter_type
- key: shower
Expand Down Expand Up @@ -469,15 +470,15 @@ layers:
attributes: *poi_attributes
- source: osm
geometry: point
min_zoom: 8
min_zoom: 7
include_when:
canoe: put_in
leisure: slipway
waterway: access_point
attributes: *poi_attributes
- source: osm
geometry: point
min_zoom: 10
min_zoom: 7
include_when:
&waterway_barriers_filter
natural: beaver_dam
Expand All @@ -488,17 +489,17 @@ layers:
attributes: *poi_attributes
- source: osm
geometry: point_on_line
min_zoom: 10
min_zoom: 7
include_when: *waterway_barriers_filter
attributes: *poi_attributes
- source: osm
geometry: polygon_centroid_if_convex
min_zoom: 10
min_zoom: 7
include_when: *waterway_barriers_filter
attributes: *poi_attributes
- source: osm
geometry: line_centroid
min_zoom: 10
min_zoom: 7
include_when:
- __all__:
- lock: yes
Expand All @@ -507,9 +508,15 @@ layers:
- river
- stream
attributes: *poi_attributes
- source: osm
geometry: point_on_line
min_zoom: 7
include_when:
- route: ferry
attributes: *poi_attributes
- source: osm
geometry: point
min_zoom: 10
min_zoom: 7
include_when:
- __all__:
- man_made: monitoring_station
Expand Down

0 comments on commit 390ab49

Please sign in to comment.