Special colors for hotels/garden buildings

part of #724
This commit is contained in:
Mateusz Konieczny 2022-02-15 19:56:43 +01:00
parent db34ee5b44
commit 3b25d7f36e
2 changed files with 11 additions and 2 deletions

View File

@ -534,9 +534,17 @@
<PolygonSymbolizer fill="#cccccc" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Residential"</Filter>
<Filter>[current_landuse_order] = "Residential" and not ([current_landuse_group] = "Garden buildings") and not ([current_landuse_group] = "Hotels, boarding and guest houses") </Filter>
<PolygonSymbolizer fill="#252aa6" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Residential" and [current_landuse_group] = "Hotels, boarding and guest houses"</Filter>
<PolygonSymbolizer fill="#3c4194" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Residential" and [current_landuse_group] = "Garden buildings" </Filter>
<PolygonSymbolizer fill="#5b5fbc" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Community Services"</Filter>
<PolygonSymbolizer fill="#73ccd1" />

View File

@ -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