From d8c13b31eb73fa6e8ea10bfd8adb9d7b296b77b6 Mon Sep 17 00:00:00 2001 From: Daniel Schep Date: Sat, 1 Feb 2025 19:17:54 -0500 Subject: [PATCH] boundaries --- _includes/ultra-maps/surveillance.ultra | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/_includes/ultra-maps/surveillance.ultra b/_includes/ultra-maps/surveillance.ultra index 423e4ae..a73099d 100644 --- a/_includes/ultra-maps/surveillance.ultra +++ b/_includes/ultra-maps/surveillance.ultra @@ -61,7 +61,16 @@ style: beforeLayerId: poi source: mask fill-opacity: 0.3 + - type: line + filter: [==, [get, type], boundary] + line-width: 4 + line-color: hsl(281, 35%, 86%) + - type: line + filter: [==, [get, type], boundary] + line-width: 1.5 + line-color: hsl(0, 2%, 47%) - type: circle + filter: ['!=', [get, type], boundary] circle-stroke-color: white circle-stroke-width: 2 circle-color: @@ -74,6 +83,7 @@ style: - blue - purple - type: symbol + filter: ['!=', [get, type], boundary] minzoom: 13 icon-image: - case @@ -104,4 +114,12 @@ area[wikidata=Q673772][type=boundary] -> .bonair; nwr[man_made=surveillance](area.chesterfield); nwr[man_made=surveillance](area.bonair); ); -out center; \ No newline at end of file +out center; +// fetch admin bounds +( + nwr[wikidata=Q43421][type=boundary]; + nwr[wikidata=Q341639][type=boundary]; + nwr[wikidata=Q340608][type=boundary]; + nwr[wikidata=Q673772][type=boundary]; +); +out geom;