From 6bfbff7a5860058a8ada981ce99a7a95e3f9ab06 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 21 Apr 2022 15:24:46 +0100 Subject: [PATCH] un-demolished buildings only --- app/src/tiles/dataDefinition.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/src/tiles/dataDefinition.ts b/app/src/tiles/dataDefinition.ts index eb30fbde..5c5412a5 100644 --- a/app/src/tiles/dataDefinition.ts +++ b/app/src/tiles/dataDefinition.ts @@ -7,12 +7,16 @@ const LAYER_QUERIES = { SELECT geometry_id FROM - buildings`, + buildings + WHERE + latest_demolish_date IS NULL`, base_night: ` SELECT geometry_id FROM - buildings`, + buildings + WHERE + latest_demolish_date IS NULL`, number_labels:` SELECT geometry_id,