Clean up planning legend and map
This commit is contained in:
parent
a5556670fa
commit
20ceb7af0a
@ -196,10 +196,6 @@
|
||||
<Filter>[planning_type] = "Locally Listed"</Filter>
|
||||
<PolygonSymbolizer fill="#858ed4"/>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<Filter>[planning_type] = "Scheduled Monument"</Filter>
|
||||
<PolygonSymbolizer fill="#ffe59b"/>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<Filter>[planning_type] = "In Conservation Area"</Filter>
|
||||
<PolygonSymbolizer fill="#95beba"/>
|
||||
|
@ -101,12 +101,11 @@ const LEGEND_CONFIG = {
|
||||
title: 'Planning',
|
||||
disclaimer: 'All data relating to designated buildings should be checked on the National Heritage List for England or local authority websites where used for planning or development purposes',
|
||||
elements: [
|
||||
{ color: '#95beba', text: 'In conservation area'},
|
||||
{ color: '#c72e08', text: 'Grade I listed'},
|
||||
{ color: '#e75b42', text: 'Grade II* listed'},
|
||||
{ color: '#ffbea1', text: 'Grade II listed'},
|
||||
{ color: '#ffe59b', text: 'Scheduled monument'},
|
||||
{ color: '#ffbea1', text: 'Grade II listed'},
|
||||
{ color: '#858ed4', text: 'Locally listed'},
|
||||
{ color: '#95beba', text: 'In conservation area'}
|
||||
]
|
||||
},
|
||||
community: {
|
||||
|
@ -96,7 +96,6 @@ 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_in_local_list THEN 'Locally Listed'
|
||||
WHEN b.planning_list_cat = 'Scheduled Monument' THEN 'Scheduled Monument'
|
||||
WHEN b.planning_in_conservation_area THEN 'In Conservation Area'
|
||||
ELSE 'None'
|
||||
END
|
||||
@ -108,7 +107,7 @@ const BUILDING_LAYER_DEFINITIONS = {
|
||||
b.planning_in_conservation_area
|
||||
OR b.planning_in_local_list
|
||||
OR b.planning_list_cat is not null
|
||||
) as planning_combined`,
|
||||
) as planning_combined`,
|
||||
conservation_area: `(
|
||||
SELECT
|
||||
g.geometry_geom
|
||||
|
Loading…
Reference in New Issue
Block a user