colouring-montreal/app/map_styles/polygon.xml
Tom Russell 3abbf4bbe8 Update base layers
- simplify age render (no outline)
- base_light/base_night tiles
- cyan highlight

[Closes #50]
2018-10-25 10:16:18 +01:00

134 lines
4.7 KiB
XML

<Map minimum-version="2.0.0">
<Style name="base_light">
<Rule>
<PolygonSymbolizer fill="#cccccc" />
<TextSymbolizer face-name="DejaVu Sans Condensed Bold" fill="#000000">
[location_number]
</TextSymbolizer>
</Rule>
</Style>
<Style name="base_night">
<Rule>
<PolygonSymbolizer fill="#303044" />
<TextSymbolizer face-name="DejaVu Sans Condensed Bold" fill="#ffffff">
[location_number]
</TextSymbolizer>
</Rule>
</Style>
<Style name="highlight">
<Rule>
<Filter>[focus] = true</Filter>
<LineSymbolizer stroke="#00ffffaa" stroke-width="4.5" />
<LineSymbolizer stroke="#00ffffff" stroke-width="2.5" />
</Rule>
</Style>
<Style name="size_storeys">
<Rule>
<Filter>[size_storeys] &gt;= 20</Filter>
<PolygonSymbolizer fill="#fef0d9" />
</Rule>
<Rule>
<Filter>[size_storeys] &gt;= 10 and [size_storeys] &lt; 20</Filter>
<PolygonSymbolizer fill="#fdd49e" />
</Rule>
<Rule>
<Filter>[size_storeys] &gt;= 5 and [size_storeys] &lt; 10</Filter>
<PolygonSymbolizer fill="#fdbb84" />
</Rule>
<Rule>
<Filter>[size_storeys] = 4</Filter>
<PolygonSymbolizer fill="#fc8d59" />
</Rule>
<Rule>
<Filter>[size_storeys] = 3</Filter>
<PolygonSymbolizer fill="#ef6548" />
</Rule>
<Rule>
<Filter>[size_storeys] = 2</Filter>
<PolygonSymbolizer fill="#d7301f" />
</Rule>
<Rule>
<Filter>[size_storeys] = 1</Filter>
<PolygonSymbolizer fill="#990000" />
</Rule>
</Style>
<Style name="date_year">
<Rule>
<Filter>[date_year] &gt;= 2000</Filter>
<PolygonSymbolizer fill="#f0eaba" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1980 and [date_year] &lt; 2000</Filter>
<PolygonSymbolizer fill="#fae269" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1960 and [date_year] &lt; 1980</Filter>
<PolygonSymbolizer fill="#fbaf27" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1940 and [date_year] &lt; 1960</Filter>
<PolygonSymbolizer fill="#e6711d" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1920 and [date_year] &lt; 1940</Filter>
<PolygonSymbolizer fill="#d73d3a" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1900 and [date_year] &lt; 1920</Filter>
<PolygonSymbolizer fill="#ba221c" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1880 and [date_year] &lt; 1900</Filter>
<PolygonSymbolizer fill="#bb859b" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1860 and [date_year] &lt; 1880</Filter>
<PolygonSymbolizer fill="#8b3654" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1840 and [date_year] &lt; 1860</Filter>
<PolygonSymbolizer fill="#8f5385" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1820 and [date_year] &lt; 1840</Filter>
<PolygonSymbolizer fill="#56619b" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1800 and [date_year] &lt; 1820</Filter>
<PolygonSymbolizer fill="#6793b2" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1780 and [date_year] &lt; 1800</Filter>
<PolygonSymbolizer fill="#83c3b3" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1760 and [date_year] &lt; 1780</Filter>
<PolygonSymbolizer fill="#adc88f" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1740 and [date_year] &lt; 1760</Filter>
<PolygonSymbolizer fill="#83a663" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1720 and [date_year] &lt; 1740</Filter>
<PolygonSymbolizer fill="#77852d" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1700 and [date_year] &lt; 1720</Filter>
<PolygonSymbolizer fill="#69814e" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1680 and [date_year] &lt; 1700</Filter>
<PolygonSymbolizer fill="#d0c291" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1660 and [date_year] &lt; 1680</Filter>
<PolygonSymbolizer fill="#918158" />
</Rule>
<Rule>
<Filter>[date_year] &lt; 1660</Filter>
<PolygonSymbolizer fill="#7a5732" />
</Rule>
</Style>
</Map>