add visualisation for more types of data being used
This commit is contained in:
parent
20f99e9103
commit
4fb388ea92
@ -334,6 +334,18 @@
|
|||||||
<Filter>[listing_type] = "Locally Listed"</Filter>
|
<Filter>[listing_type] = "Locally Listed"</Filter>
|
||||||
<PolygonSymbolizer fill="#858ed4"/>
|
<PolygonSymbolizer fill="#858ed4"/>
|
||||||
</Rule>
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Filter>[listing_type] = "Heritage at Risk"</Filter>
|
||||||
|
<PolygonSymbolizer fill="#85ffd4"/>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Filter>[listing_type] = "In World Heritage Site"</Filter>
|
||||||
|
<PolygonSymbolizer fill="#858eff"/>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Filter>[listing_type] = "In Archaeological Priority Area"</Filter>
|
||||||
|
<PolygonSymbolizer fill="#8500d4"/>
|
||||||
|
</Rule>
|
||||||
|
|
||||||
<Rule>
|
<Rule>
|
||||||
<Filter>[listing_type] != "None" or [planning_in_conservation_area] = true</Filter>
|
<Filter>[listing_type] != "None" or [planning_in_conservation_area] = true</Filter>
|
||||||
|
@ -173,11 +173,14 @@ export const categoryMapsConfig: {[key in Category]: CategoryMapDefinition[]} =
|
|||||||
title: 'Designation/protection',
|
title: 'Designation/protection',
|
||||||
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',
|
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: [
|
elements: [
|
||||||
{ color: '#95beba', text: 'In conservation area'},
|
{ color: '#95beba', text: 'In Conservation Area'},
|
||||||
{ color: '#c72e08', text: 'Grade I listed'},
|
{ color: '#c72e08', text: 'Grade I Listed'},
|
||||||
{ color: '#e75b42', text: 'Grade II* listed'},
|
{ color: '#e75b42', text: 'Grade II* Listed'},
|
||||||
{ color: '#ffbea1', text: 'Grade II listed'},
|
{ color: '#ffbea1', text: 'Grade II Listed'},
|
||||||
{ color: '#858ed4', text: 'Locally listed'},
|
{ color: '#858ed4', text: 'Locally Listed'},
|
||||||
|
{ color: '#85ffd4', text: 'Heritage at Risk'},
|
||||||
|
{ color: '#858eff', text: 'In World Heritage Site'},
|
||||||
|
{ color: '#8500d4', text: 'In Archaeological Priority Area'},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
|
@ -145,15 +145,22 @@ const LAYER_QUERIES = {
|
|||||||
WHEN planning_list_grade = 'II*' THEN 'Grade II* Listed'
|
WHEN planning_list_grade = 'II*' THEN 'Grade II* Listed'
|
||||||
WHEN planning_list_grade = 'II' THEN 'Grade II Listed'
|
WHEN planning_list_grade = 'II' THEN 'Grade II Listed'
|
||||||
WHEN planning_local_list_url <> '' THEN 'Locally Listed'
|
WHEN planning_local_list_url <> '' THEN 'Locally Listed'
|
||||||
|
WHEN planning_heritage_at_risk_url <> '' THEN 'Heritage at Risk'
|
||||||
|
WHEN planning_world_list_url <> '' THEN 'In World Heritage Site'
|
||||||
|
WHEN planning_in_apa_url <> '' THEN 'In Archaeological Priority Area'
|
||||||
ELSE 'None'
|
ELSE 'None'
|
||||||
END
|
END
|
||||||
) AS listing_type,
|
) AS listing_type,
|
||||||
planning_in_conservation_area_url <> '' AS planning_in_conservation_area
|
planning_in_conservation_area_url <> '' AS planning_in_conservation_area
|
||||||
FROM buildings
|
FROM buildings
|
||||||
WHERE
|
WHERE
|
||||||
planning_in_conservation_area_url <> ''
|
planning_list_grade IS NOT NULL
|
||||||
|
OR planning_in_conservation_area_url <> ''
|
||||||
OR planning_local_list_url <> ''
|
OR planning_local_list_url <> ''
|
||||||
OR planning_list_grade IS NOT NULL`,
|
OR planning_world_list_url <> ''
|
||||||
|
OR planning_heritage_at_risk_url <> ''
|
||||||
|
OR planning_in_apa_url <> ''
|
||||||
|
`,
|
||||||
conservation_area: `
|
conservation_area: `
|
||||||
SELECT
|
SELECT
|
||||||
geometry_id
|
geometry_id
|
||||||
|
Loading…
Reference in New Issue
Block a user