From 390ab4980d1d3d102522ed9a1dd2d424149102ee Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Thu, 15 Aug 2024 21:05:40 -0400 Subject: [PATCH] Move ferry points to POI layer --- renderer/layers/trails.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/renderer/layers/trails.yml b/renderer/layers/trails.yml index d976bca..c167301 100644 --- a/renderer/layers/trails.yml +++ b/renderer/layers/trails.yml @@ -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__: @@ -289,7 +289,6 @@ layers: - FIXME: __any__ - todo: __any__ - TODO: __any__ - - route: ferry attributes: *trail_attributes - id: trail_poi features: @@ -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 @@ -469,7 +470,7 @@ layers: attributes: *poi_attributes - source: osm geometry: point - min_zoom: 8 + min_zoom: 7 include_when: canoe: put_in leisure: slipway @@ -477,7 +478,7 @@ layers: attributes: *poi_attributes - source: osm geometry: point - min_zoom: 10 + min_zoom: 7 include_when: &waterway_barriers_filter natural: beaver_dam @@ -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 @@ -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