Add outline to listed bldgs in conservation area
This commit is contained in:
parent
aebd90a788
commit
68ae627901
@ -181,24 +181,30 @@
|
|||||||
</Style>
|
</Style>
|
||||||
<Style name="planning_combined">
|
<Style name="planning_combined">
|
||||||
<Rule>
|
<Rule>
|
||||||
<Filter>[planning_type] = "Grade I Listed"</Filter>
|
<Filter>[planning_in_conservation_area] = true</Filter>
|
||||||
|
<PolygonSymbolizer fill="#95beba"/>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Filter>[listing_type] = "Grade I Listed"</Filter>
|
||||||
<PolygonSymbolizer fill="#c72e08"/>
|
<PolygonSymbolizer fill="#c72e08"/>
|
||||||
</Rule>
|
</Rule>
|
||||||
<Rule>
|
<Rule>
|
||||||
<Filter>[planning_type] = "Grade II* Listed"</Filter>
|
<Filter>[listing_type] = "Grade II* Listed"</Filter>
|
||||||
<PolygonSymbolizer fill="#e75b42"/>
|
<PolygonSymbolizer fill="#e75b42"/>
|
||||||
</Rule>
|
</Rule>
|
||||||
<Rule>
|
<Rule>
|
||||||
<Filter>[planning_type] = "Grade II Listed"</Filter>
|
<Filter>[listing_type] = "Grade II Listed"</Filter>
|
||||||
<PolygonSymbolizer fill="#ffbea1"/>
|
<PolygonSymbolizer fill="#ffbea1"/>
|
||||||
</Rule>
|
</Rule>
|
||||||
<Rule>
|
<Rule>
|
||||||
<Filter>[planning_type] = "Locally Listed"</Filter>
|
<Filter>[listing_type] = "Locally Listed"</Filter>
|
||||||
<PolygonSymbolizer fill="#858ed4"/>
|
<PolygonSymbolizer fill="#858ed4"/>
|
||||||
</Rule>
|
</Rule>
|
||||||
<Rule>
|
<Rule>
|
||||||
<Filter>[planning_type] = "In Conservation Area"</Filter>
|
<Filter>[listing_type] != "None" and [planning_in_conservation_area] = true</Filter>
|
||||||
<PolygonSymbolizer fill="#95beba"/>
|
<MaxScaleDenominator>68200</MaxScaleDenominator>
|
||||||
|
<MinScaleDenominator>0</MinScaleDenominator>
|
||||||
|
<LineSymbolizer stroke="#95beba" stroke-width="2.5"/>
|
||||||
</Rule>
|
</Rule>
|
||||||
</Style>
|
</Style>
|
||||||
<Style name="sust_dec">
|
<Style name="sust_dec">
|
||||||
|
@ -96,10 +96,10 @@ const BUILDING_LAYER_DEFINITIONS = {
|
|||||||
WHEN b.planning_list_cat = 'Listed Building' and b.planning_list_grade = 'II*' THEN 'Grade II* Listed'
|
WHEN b.planning_list_cat = 'Listed Building' and b.planning_list_grade = 'II*' THEN 'Grade II* Listed'
|
||||||
WHEN b.planning_list_cat = 'Listed Building' and b.planning_list_grade = 'II' THEN 'Grade II Listed'
|
WHEN b.planning_list_cat = 'Listed Building' and b.planning_list_grade = 'II' THEN 'Grade II Listed'
|
||||||
WHEN b.planning_in_local_list THEN 'Locally Listed'
|
WHEN b.planning_in_local_list THEN 'Locally Listed'
|
||||||
WHEN b.planning_in_conservation_area THEN 'In Conservation Area'
|
|
||||||
ELSE 'None'
|
ELSE 'None'
|
||||||
END
|
END
|
||||||
) as planning_type
|
) as listing_type,
|
||||||
|
b.planning_in_conservation_area
|
||||||
FROM geometries as g
|
FROM geometries as g
|
||||||
JOIN buildings as b
|
JOIN buildings as b
|
||||||
ON g.geometry_id = b.geometry_id
|
ON g.geometry_id = b.geometry_id
|
||||||
|
Loading…
Reference in New Issue
Block a user