diff --git a/app/map_styles/polygon.xml b/app/map_styles/polygon.xml index 2a3fa09d..fbe123e8 100644 --- a/app/map_styles/polygon.xml +++ b/app/map_styles/polygon.xml @@ -534,9 +534,17 @@ - [current_landuse_order] = "Residential" + [current_landuse_order] = "Residential" and not ([current_landuse_group] = "Garden buildings") and not ([current_landuse_group] = "Hotels, boarding and guest houses") + + [current_landuse_order] = "Residential" and [current_landuse_group] = "Hotels, boarding and guest houses" + + + + [current_landuse_order] = "Residential" and [current_landuse_group] = "Garden buildings" + + [current_landuse_order] = "Community Services" diff --git a/app/src/tiles/dataDefinition.ts b/app/src/tiles/dataDefinition.ts index 137bae96..eb30fbde 100644 --- a/app/src/tiles/dataDefinition.ts +++ b/app/src/tiles/dataDefinition.ts @@ -149,7 +149,8 @@ const LAYER_QUERIES = { landuse: ` SELECT geometry_id, - current_landuse_order + current_landuse_order, + current_landuse_group[1] as current_landuse_group FROM buildings WHERE