Change age colour scheme

[Closes #89]
This commit is contained in:
Tom Russell 2018-10-25 10:07:05 +01:00
parent efd1d10908
commit bed063f238
2 changed files with 14 additions and 26 deletions

View File

@ -25,43 +25,31 @@
<Style name="size_storeys">
<Rule>
<Filter>[size_storeys] &gt;= 20</Filter>
<PolygonSymbolizer fill="#ffc584" />
<LineSymbolizer stroke="white" stroke-width="0.3" />
<PolygonSymbolizer fill="#fef0d9" />
</Rule>
<Rule>
<Filter>[size_storeys] &gt;= 10 and [size_storeys] &lt; 20</Filter>
<PolygonSymbolizer fill="#f46259" />
<LineSymbolizer stroke="white" stroke-width="0.3" />
<PolygonSymbolizer fill="#fdd49e" />
</Rule>
<Rule>
<Filter>[size_storeys] &gt;= 5 and [size_storeys] &lt; 10</Filter>
<PolygonSymbolizer fill="#da456a" />
<LineSymbolizer stroke="white" stroke-width="0.3" />
<PolygonSymbolizer fill="#fdbb84" />
</Rule>
<Rule>
<Filter>[size_storeys] = 4</Filter>
<PolygonSymbolizer fill="#a8327d" />
<LineSymbolizer stroke="white" stroke-width="0.3" />
<PolygonSymbolizer fill="#fc8d59" />
</Rule>
<Rule>
<Filter>[size_storeys] = 3</Filter>
<PolygonSymbolizer fill="#7c2383" />
<LineSymbolizer stroke="white" stroke-width="0.3" />
<PolygonSymbolizer fill="#ef6548" />
</Rule>
<Rule>
<Filter>[size_storeys] = 2</Filter>
<PolygonSymbolizer fill="#5b167f" />
<LineSymbolizer stroke="white" stroke-width="0.3" />
<PolygonSymbolizer fill="#d7301f" />
</Rule>
<Rule>
<Filter>[size_storeys] = 1</Filter>
<PolygonSymbolizer fill="#360f69" />
<LineSymbolizer stroke="white" stroke-width="0.3" />
</Rule>
<Rule>
<ElseFilter />
<PolygonSymbolizer fill="#00000000" />
<LineSymbolizer stroke="black" stroke-width="0.3" />
<PolygonSymbolizer fill="#990000" />
</Rule>
</Style>
<Style name="date_year">

View File

@ -41,13 +41,13 @@ const LEGEND_CONFIG = {
title: 'Number of storeys',
slug: 'size_storeys',
elements: [
{ color: '#ffc584', text: '≥20' },
{ color: '#f46259', text: '1020' },
{ color: '#da456a', text: '510' },
{ color: '#a8327d', text: '4' },
{ color: '#7c2383', text: '3' },
{ color: '#5b167f', text: '2' },
{ color: '#360f69', text: '1' },
{ color: '#fef0d9', text: '≥20' },
{ color: '#fdd49e', text: '1020' },
{ color: '#fdbb84', text: '510' },
{ color: '#fc8d59', text: '4' },
{ color: '#ef6548', text: '3' },
{ color: '#d7301f', text: '2' },
{ color: '#990000', text: '1' },
]
}
],