From edcdedfe078b5e25560e863b96687e3b72a51bd1 Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Tue, 20 Aug 2024 09:21:15 -0400 Subject: [PATCH] Gather barrier lines and areas separately --- renderer/layers/trails.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/renderer/layers/trails.yml b/renderer/layers/trails.yml index 7084713..4444559 100644 --- a/renderer/layers/trails.yml +++ b/renderer/layers/trails.yml @@ -567,11 +567,11 @@ layers: min_size: 0.5 include_when: *parks_filter attributes: *poi_attributes - # gather barriers as lines and areas for rendering - - id: barrier + # gather barriers as areas for rendering + - id: barrier_area features: - source: osm - geometry: line + geometry: polygon min_zoom: 7 min_size: 0.5 include_when: @@ -607,8 +607,11 @@ layers: tag_value: natural - key: waterway tag_value: waterway + # gather barriers as lines for rendering + - id: barrier_line + features: - source: osm - geometry: polygon + geometry: line min_zoom: 7 min_size: 0.5 include_when: *barrier_filter