colouring-montreal/app/map_styles/polygon.xml

349 lines
13 KiB
XML
Raw Normal View History

2018-07-30 05:25:34 -04:00
<Map minimum-version="2.0.0">
<Style name="base_light">
2018-08-03 06:04:43 -04:00
<Rule>
<PolygonSymbolizer fill="#cccccc" />
</Rule>
2018-12-05 15:35:44 -05:00
<Rule>
<LineSymbolizer stroke="#222222aa" stroke-width="0.5" />
<MaxScaleDenominator>17000</MaxScaleDenominator>
<MinScaleDenominator>0</MinScaleDenominator>
</Rule>
<Rule>
<TextSymbolizer face-name="DejaVu Sans Condensed Bold" fill="#000000">
[location_number]
</TextSymbolizer>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>0</MinScaleDenominator>
2018-08-03 06:04:43 -04:00
</Rule>
</Style>
<Style name="base_night">
2018-08-03 06:04:43 -04:00
<Rule>
<PolygonSymbolizer fill="#303044" />
</Rule>
2018-12-05 15:35:44 -05:00
<Rule>
<LineSymbolizer stroke="#ccccccaa" stroke-width="0.5" />
<MaxScaleDenominator>17000</MaxScaleDenominator>
<MinScaleDenominator>0</MinScaleDenominator>
</Rule>
<Rule>
<TextSymbolizer face-name="DejaVu Sans Condensed Bold" fill="#ffffff">
2018-09-11 18:29:30 -04:00
[location_number]
</TextSymbolizer>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>0</MinScaleDenominator>
2018-09-11 18:29:30 -04:00
</Rule>
</Style>
<Style name="highlight">
2018-09-11 18:29:30 -04:00
<Rule>
2019-09-17 13:20:23 -04:00
<Filter>[base_layer] = 'location' or [base_layer] = 'conservation_area'</Filter>
<LineSymbolizer stroke="#ff0000aa" stroke-width="4.5" />
<LineSymbolizer stroke="#ff0000ff" stroke-width="2.5" />
</Rule>
<Rule>
<ElseFilter />
<LineSymbolizer stroke="#00ffffaa" stroke-width="4.5" />
<LineSymbolizer stroke="#00ffffff" stroke-width="2.5" />
2018-08-03 06:04:43 -04:00
</Rule>
</Style>
<Style name="location">
<Rule>
2019-01-22 16:46:07 -05:00
<Filter>[location_info_count] &gt;= 8</Filter>
<PolygonSymbolizer fill="#084081" />
</Rule>
<Rule>
2019-01-22 16:46:07 -05:00
<Filter>[location_info_count] &gt;= 6 and [location_info_count] &lt; 8</Filter>
<PolygonSymbolizer fill="#0868ac" />
</Rule>
<Rule>
2019-01-22 16:40:35 -05:00
<Filter>[location_info_count] &gt;= 4 and [location_info_count] &lt; 6</Filter>
2019-01-22 16:46:07 -05:00
<PolygonSymbolizer fill="#43a2ca" />
</Rule>
<Rule>
2019-01-22 16:46:07 -05:00
<Filter>[location_info_count] &gt;= 2 and [location_info_count] &lt; 4</Filter>
<PolygonSymbolizer fill="#7bccc4" />
</Rule>
<Rule>
2019-01-22 16:46:07 -05:00
<Filter>[location_info_count] &gt; 0 and [location_info_count] &lt; 2</Filter>
<PolygonSymbolizer fill="#bae4bc" />
</Rule>
</Style>
2018-08-03 06:04:43 -04:00
<Style name="size_storeys">
<Rule>
<Filter>[size_storeys] &gt;= 40</Filter>
<PolygonSymbolizer fill="#ffffcc" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
<Filter>[size_storeys] &gt;= 20 and [size_storeys] &lt; 40</Filter>
<PolygonSymbolizer fill="#fed976" />
</Rule>
<Rule>
<Filter>[size_storeys] &gt;= 10 and [size_storeys] &lt; 20</Filter>
<PolygonSymbolizer fill="#fd8d3c" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
<Filter>[size_storeys] &gt;= 6 and [size_storeys] &lt; 10</Filter>
<PolygonSymbolizer fill="#e31a1c" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
<Filter>[size_storeys] &gt;= 1 and [size_storeys] &lt; 6</Filter>
<PolygonSymbolizer fill="#800026" />
2018-08-03 06:04:43 -04:00
</Rule>
</Style>
2020-01-16 09:52:10 -05:00
<Style name="size_height">
<Rule>
<Filter>[size_height] &lt; 5.55</Filter>
<PolygonSymbolizer fill="#f7f4f9" />
</Rule>
<Rule>
<Filter>[size_height] &gt;= 5.55 and [size_height] &lt; 7.73</Filter>
<PolygonSymbolizer fill="#e7e1ef" />
</Rule>
<Rule>
2020-02-07 11:07:18 -05:00
<Filter>[size_height] &gt;= 7.73 and [size_height] &lt; 11.38</Filter>
2020-01-16 09:52:10 -05:00
<PolygonSymbolizer fill="#d4b9da" />
</Rule>
<Rule>
2020-02-07 11:07:18 -05:00
<Filter>[size_height] &gt;= 11.38 and [size_height] &lt; 18.45</Filter>
2020-01-16 09:52:10 -05:00
<PolygonSymbolizer fill="#c994c7" />
</Rule>
<Rule>
2020-02-07 11:07:18 -05:00
<Filter>[size_height] &gt;= 18.45 and [size_height] &lt; 35.05</Filter>
2020-01-16 09:52:10 -05:00
<PolygonSymbolizer fill="#df65b0" />
</Rule>
<Rule>
2020-02-07 11:07:18 -05:00
<Filter>[size_height] &gt;= 35.05 and [size_height] &lt; 89.30</Filter>
2020-01-16 09:52:10 -05:00
<PolygonSymbolizer fill="#e7298a" />
</Rule>
<Rule>
2020-02-07 11:07:18 -05:00
<Filter>[size_height] &gt;= 89.30 and [size_height] &lt; 152</Filter>
2020-01-16 09:52:10 -05:00
<PolygonSymbolizer fill="#ce1256" />
</Rule>
<Rule>
2020-02-07 11:07:18 -05:00
<Filter>[size_height] &gt;= 152</Filter>
2020-01-16 09:52:10 -05:00
<PolygonSymbolizer fill="#980043" />
</Rule>
</Style>
2018-08-03 06:04:43 -04:00
<Style name="date_year">
<Rule>
<Filter>[date_year] &gt;= 2000</Filter>
2018-08-20 07:07:13 -04:00
<PolygonSymbolizer fill="#f0eaba" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1980 and [date_year] &lt; 2000</Filter>
2018-08-20 07:07:13 -04:00
<PolygonSymbolizer fill="#fae269" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1960 and [date_year] &lt; 1980</Filter>
2018-08-20 07:07:13 -04:00
<PolygonSymbolizer fill="#fbaf27" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1940 and [date_year] &lt; 1960</Filter>
2018-08-20 07:07:13 -04:00
<PolygonSymbolizer fill="#e6711d" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1920 and [date_year] &lt; 1940</Filter>
2018-08-20 07:07:13 -04:00
<PolygonSymbolizer fill="#d73d3a" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1900 and [date_year] &lt; 1920</Filter>
2020-02-10 16:09:03 -05:00
<PolygonSymbolizer fill="#8f5385" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1880 and [date_year] &lt; 1900</Filter>
2020-02-10 16:09:03 -05:00
<PolygonSymbolizer fill="#56619b" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1860 and [date_year] &lt; 1880</Filter>
2020-02-10 16:09:03 -05:00
<PolygonSymbolizer fill="#5591d4" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1840 and [date_year] &lt; 1860</Filter>
2020-02-10 16:09:03 -05:00
<PolygonSymbolizer fill="#6793b2" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
2020-02-07 10:57:44 -05:00
<Filter>[date_year] &gt;= 1800 and [date_year] &lt; 1840</Filter>
2018-08-20 07:07:13 -04:00
<PolygonSymbolizer fill="#83c3b3" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
2020-02-07 10:57:44 -05:00
<Filter>[date_year] &gt;= 1700 and [date_year] &lt; 1800</Filter>
2018-08-20 07:07:13 -04:00
<PolygonSymbolizer fill="#adc88f" />
2018-08-03 06:04:43 -04:00
</Rule>
<Rule>
2020-02-07 10:57:44 -05:00
<Filter>[date_year] &lt; 1700</Filter>
<PolygonSymbolizer fill="#ffffff" />
2020-02-10 16:09:03 -05:00
<LineSymbolizer stroke="#888888" />
2018-08-03 06:04:43 -04:00
</Rule>
</Style>
<Style name="conservation_area">
2019-01-19 11:55:09 -05:00
<Rule>
<PolygonSymbolizer fill="#73ebaf" />
</Rule>
</Style>
<Style name="planning_combined">
<Rule>
<Filter>[planning_in_conservation_area] = true</Filter>
<PolygonSymbolizer fill="#95beba"/>
</Rule>
<Rule>
<Filter>[listing_type] = "Grade I Listed"</Filter>
<PolygonSymbolizer fill="#c72e08"/>
</Rule>
<Rule>
<Filter>[listing_type] = "Grade II* Listed"</Filter>
2020-02-10 17:51:22 -05:00
<PolygonSymbolizer fill="#e75b42"/>
</Rule>
<Rule>
<Filter>[listing_type] = "Grade II Listed"</Filter>
2020-02-10 17:51:22 -05:00
<PolygonSymbolizer fill="#ffbea1"/>
</Rule>
<Rule>
<Filter>[listing_type] = "Locally Listed"</Filter>
2020-02-10 17:51:22 -05:00
<PolygonSymbolizer fill="#858ed4"/>
</Rule>
<!-- Conservation area outline -->
<Rule>
<Filter>[listing_type] != "None" and [planning_in_conservation_area] = true</Filter>
<MaxScaleDenominator>34100</MaxScaleDenominator>
<MinScaleDenominator>17061</MinScaleDenominator>
<LineSymbolizer stroke="#95beba" stroke-width="0.5"/>
</Rule>
<Rule>
<Filter>[listing_type] != "None" and [planning_in_conservation_area] = true</Filter>
<MaxScaleDenominator>17061</MaxScaleDenominator>
<MinScaleDenominator>8530</MinScaleDenominator>
<LineSymbolizer stroke="#95beba" stroke-width="1.0"/>
</Rule>
<Rule>
<Filter>[listing_type] != "None" and [planning_in_conservation_area] = true</Filter>
<MaxScaleDenominator>8530</MaxScaleDenominator>
<MinScaleDenominator>0</MinScaleDenominator>
<LineSymbolizer stroke="#95beba" stroke-width="2.5"/>
</Rule>
</Style>
<Style name="sust_dec">
<Rule>
<Filter>[sust_dec] = A</Filter>
<PolygonSymbolizer fill="#007f3d" />
</Rule>
<Rule>
<Filter>[sust_dec] = B</Filter>
<PolygonSymbolizer fill="#2c9f29" />
</Rule>
<Rule>
<Filter>[sust_dec] = C</Filter>
<PolygonSymbolizer fill="#9dcb3c" />
</Rule>
<Rule>
<Filter>[sust_dec] = D</Filter>
<PolygonSymbolizer fill="#fff200" />
</Rule>
<Rule>
<Filter>[sust_dec] = E</Filter>
<PolygonSymbolizer fill="#f7af1d" />
</Rule>
<Rule>
<Filter>[sust_dec] = F</Filter>
<PolygonSymbolizer fill="#ed6823" />
</Rule>
<Rule>
<Filter>[sust_dec] = G</Filter>
<PolygonSymbolizer fill="#e31d23" />
</Rule>
</Style>
<Style name="building_attachment_form">
<Rule>
<Filter>[building_attachment_form] = "Detached"</Filter>
<PolygonSymbolizer fill="#f2a2b9" />
</Rule>
<Rule>
<Filter>[building_attachment_form] = "Semi-Detached"</Filter>
<PolygonSymbolizer fill="#ab8fb0" />
</Rule>
<Rule>
<Filter>[building_attachment_form] = "End-Terrace"</Filter>
<PolygonSymbolizer fill="#3891d1" />
</Rule>
<Rule>
<Filter>[building_attachment_form] = "Mid-Terrace"</Filter>
<PolygonSymbolizer fill="#226291" />
</Rule>
</Style>
<Style name="likes">
<Rule>
2019-10-28 11:55:40 -04:00
<Filter>[likes] &gt;= 100</Filter>
2018-11-21 17:06:22 -05:00
<PolygonSymbolizer fill="#bd0026" />
</Rule>
<Rule>
2019-10-31 09:22:34 -04:00
<Filter>[likes] &gt;= 50 and [likes] &lt; 100</Filter>
2018-11-21 17:06:22 -05:00
<PolygonSymbolizer fill="#e31a1c" />
</Rule>
<Rule>
2019-10-31 09:22:34 -04:00
<Filter>[likes] &gt;= 20 and [likes] &lt; 50</Filter>
2018-12-05 15:30:29 -05:00
<PolygonSymbolizer fill="#fc4e2a" />
2018-11-21 17:06:22 -05:00
</Rule>
<Rule>
2019-10-31 09:22:34 -04:00
<Filter>[likes] &gt;= 10 and [likes] &lt; 20</Filter>
2018-12-05 15:30:29 -05:00
<PolygonSymbolizer fill="#fd8d3c" />
2018-11-21 17:06:22 -05:00
</Rule>
<Rule>
2019-10-31 09:22:34 -04:00
<Filter>[likes] &gt;= 3 and [likes] &lt; 10</Filter>
2018-12-05 15:30:29 -05:00
<PolygonSymbolizer fill="#feb24c" />
2018-11-21 17:06:22 -05:00
</Rule>
<Rule>
2019-10-31 09:22:34 -04:00
<Filter>[likes] = 2</Filter>
2018-12-05 15:30:29 -05:00
<PolygonSymbolizer fill="#fed976" />
</Rule>
2019-10-31 09:22:34 -04:00
<Rule>
<Filter>[likes] = 1</Filter>
<PolygonSymbolizer fill="#ffe8a9" />
</Rule>
</Style>
2019-12-02 10:10:45 -05:00
<Style name="landuse">
<Rule>
<Filter>[current_landuse_order] = "Agriculture And Fisheries"</Filter>
<PolygonSymbolizer fill="#52403C" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Recreation And Leisure"</Filter>
<PolygonSymbolizer fill="#ffbfbf" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Transport"</Filter>
<PolygonSymbolizer fill="#b3de69" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Utilities And Infrastructure"</Filter>
<PolygonSymbolizer fill="#cccccc" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Residential"</Filter>
<PolygonSymbolizer fill="#4a54a6" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Community Services"</Filter>
<PolygonSymbolizer fill="#73ccd1" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Retail"</Filter>
<PolygonSymbolizer fill="#ff8c00" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Industry And Business"</Filter>
<PolygonSymbolizer fill="#f5f58f" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Vacant And Derelict"</Filter>
<PolygonSymbolizer fill="#ffffff" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Defence"</Filter>
<PolygonSymbolizer fill="#898944" />
</Rule>
<Rule>
<Filter>[current_landuse_order] = "Mixed Use"</Filter>
<PolygonSymbolizer fill="#e5050d" />
</Rule>
</Style>
2018-07-30 05:25:34 -04:00
</Map>