test team colour scale (but using location vals for now)
This commit is contained in:
parent
3ef764dc75
commit
691b68e128
@ -79,6 +79,39 @@
|
||||
<LineSymbolizer stroke="#888" stroke-width="3.0"/>
|
||||
</Rule>
|
||||
</Style>
|
||||
<Style name="team">
|
||||
<Rule>
|
||||
<Filter>[location_info_count] >= 8</Filter>
|
||||
<PolygonSymbolizer fill="#994d00" />
|
||||
</Rule>
|
||||
<Rule>
|
||||
<Filter>[location_info_count] >= 6 and [location_info_count] < 8</Filter>
|
||||
<PolygonSymbolizer fill="#e67300" />
|
||||
</Rule>
|
||||
<Rule>
|
||||
<Filter>[location_info_count] >= 4 and [location_info_count] < 6</Filter>
|
||||
<PolygonSymbolizer fill="#ff9933" />
|
||||
</Rule>
|
||||
<Rule>
|
||||
<Filter>[location_info_count] >= 2 and [location_info_count] < 4</Filter>
|
||||
<PolygonSymbolizer fill="#ffbf80" />
|
||||
</Rule>
|
||||
<Rule>
|
||||
<Filter>[location_info_count] > 0 and [location_info_count] < 2</Filter>
|
||||
<PolygonSymbolizer fill="#ffe6cc" />
|
||||
</Rule>
|
||||
|
||||
<Rule>
|
||||
<MaxScaleDenominator>17061</MaxScaleDenominator>
|
||||
<MinScaleDenominator>4264</MinScaleDenominator>
|
||||
<LineSymbolizer stroke="#888" stroke-width="1.0"/>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<MaxScaleDenominator>4264</MaxScaleDenominator>
|
||||
<MinScaleDenominator>0</MinScaleDenominator>
|
||||
<LineSymbolizer stroke="#888" stroke-width="3.0"/>
|
||||
</Rule>
|
||||
</Style>
|
||||
<Style name="size_storeys">
|
||||
<Rule>
|
||||
<Filter>[size_storeys] >= 40</Filter>
|
||||
|
@ -64,10 +64,17 @@ export const categoryMapsConfig: {[key in Category]: CategoryMapDefinition[]} =
|
||||
},
|
||||
}],
|
||||
[Category.Team]: [{
|
||||
mapStyle: undefined,
|
||||
mapStyle: 'team',
|
||||
legend: {
|
||||
title: 'Team',
|
||||
elements: []
|
||||
description: '% data collected',
|
||||
elements: [
|
||||
{ color: '#994d00', text: '≥80%' },
|
||||
{ color: '#e67300', text: '60–80%' },
|
||||
{ color: '#ff9933', text: '40–60%' },
|
||||
{ color: '#ffbf80', text: '20–40%' },
|
||||
{ color: '#ffe6cc', text: '<20%' }
|
||||
]
|
||||
},
|
||||
}],
|
||||
[Category.Construction]: [{
|
||||
|
Loading…
Reference in New Issue
Block a user