Fix colour scale for height to apex

This commit is contained in:
Maciej Ziarkowski 2020-02-07 16:07:18 +00:00
parent c4e93d1a65
commit 7f4086f5ad
2 changed files with 12 additions and 17 deletions

View File

@ -99,33 +99,29 @@
<PolygonSymbolizer fill="#e7e1ef" />
</Rule>
<Rule>
<Filter>[size_height] &gt;= 7.73 and [size_height] &lt; 1.138</Filter>
<Filter>[size_height] &gt;= 7.73 and [size_height] &lt; 11.38</Filter>
<PolygonSymbolizer fill="#d4b9da" />
</Rule>
<Rule>
<Filter>[size_height] &gt;= 1.138 and [size_height] &lt; 1.845</Filter>
<Filter>[size_height] &gt;= 11.38 and [size_height] &lt; 18.45</Filter>
<PolygonSymbolizer fill="#c994c7" />
</Rule>
<Rule>
<Filter>[size_height] &gt;= 1.845 and [size_height] &lt; 3.505</Filter>
<Filter>[size_height] &gt;= 18.45 and [size_height] &lt; 35.05</Filter>
<PolygonSymbolizer fill="#df65b0" />
</Rule>
<Rule>
<Filter>[size_height] &gt;= 3.505 and [size_height] &lt; 8.930</Filter>
<Filter>[size_height] &gt;= 35.05 and [size_height] &lt; 89.30</Filter>
<PolygonSymbolizer fill="#e7298a" />
</Rule>
<Rule>
<Filter>[size_height] &gt;= 8.930 and [size_height] &lt; 15.179</Filter>
<Filter>[size_height] &gt;= 89.30 and [size_height] &lt; 152</Filter>
<PolygonSymbolizer fill="#ce1256" />
</Rule>
<Rule>
<Filter>[size_height] &gt;= 15.179 and [size_height] &lt; 99.999</Filter>
<Filter>[size_height] &gt;= 152</Filter>
<PolygonSymbolizer fill="#980043" />
</Rule>
<Rule>
<Filter>[size_height] &gt;= 99.999</Filter>
<PolygonSymbolizer fill="#67001f" />
</Rule>
</Style>
<Style name="date_year">
<Rule>

View File

@ -71,13 +71,12 @@ const LEGEND_CONFIG = {
elements: [
{ color: '#f7f4f9', text: '0-5.55'},
{ color: '#e7e1ef', text: '5.55-7.73'},
{ color: '#d4b9da', text: '7.73-1.138'},
{ color: '#c994c7', text: '1.138-1.845'},
{ color: '#df65b0', text: '1.845-3.505'},
{ color: '#e7298a', text: '3.505-8.930'},
{ color: '#ce1256', text: '8.930-15.179'},
{ color: '#980043', text: '15.179-99.999'},
{ color: '#67001f', text: '≥99.999'}
{ color: '#d4b9da', text: '7.73-11.38'},
{ color: '#c994c7', text: '11.38-18.45'},
{ color: '#df65b0', text: '18.45-35.05'},
{ color: '#e7298a', text: '35.05-89.30'},
{ color: '#ce1256', text: '89.30-152'},
{ color: '#980043', text: '≥152'}
]
},
construction: {