-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for April 24, 2020. Update ranges to accommodate growing numbers.
- Loading branch information
1 parent
f782e50
commit 6cbb039
Showing
10 changed files
with
105 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
Build/Saskatchewan_COVID-19_Infection_Rates.inkscape.min.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<qgis_style version="2"> | ||
<symbols> | ||
<symbol alpha="1" clip_to_extent="1" force_rhr="0" name="Infection Rate Fill" type="fill"> | ||
<layer class="SimpleFill" enabled="1" locked="0" pass="0"> | ||
<prop k="border_width_map_unit_scale" v="3x:0,0,0,0,0,0"></prop> | ||
<prop k="color" v="224,224,224,255"></prop> | ||
<prop k="joinstyle" v="bevel"></prop> | ||
<prop k="offset" v="0,0"></prop> | ||
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"></prop> | ||
<prop k="offset_unit" v="Pixel"></prop> | ||
<prop k="outline_color" v="35,35,35,255"></prop> | ||
<prop k="outline_style" v="solid"></prop> | ||
<prop k="outline_width" v="3"></prop> | ||
<prop k="outline_width_unit" v="Pixel"></prop> | ||
<prop k="style" v="solid"></prop> | ||
<data_defined_properties> | ||
<Option type="Map"> | ||
<Option name="name" type="QString" value=""></Option> | ||
<Option name="properties" type="Map"> | ||
<Option name="fillColor" type="Map"> | ||
<Option name="active" type="bool" value="true"></Option> | ||
<Option name="expression" type="QString" value="with_variable(
 'infection_rate',
 @infections / @population * @infection_per_pop,
 CASE
 WHEN @infection_rate > @infection_range_6
	 THEN project_color('Range_6_Color')
 WHEN @infection_rate > @infection_range_5
	 THEN project_color('Range_5_Color')
	WHEN @infection_rate > @infection_range_4
	 THEN project_color('Range_4_Color')
	WHEN @infection_rate > @infection_range_3
	 THEN project_color('Range_3_Color')
	WHEN @infection_rate > @infection_range_2
	 THEN project_color('Range_2_Color')
	WHEN @infection_rate > @infection_range_1
	 THEN project_color('Range_1_Color')
	ELSE
	 project_color('Range_0_Color')
 END
)"></Option> | ||
<Option name="type" type="int" value="3"></Option> | ||
</Option> | ||
<Option name="outlineColor" type="Map"> | ||
<Option name="active" type="bool" value="true"></Option> | ||
<Option name="expression" type="QString" value="project_color('Border_Color')"></Option> | ||
<Option name="type" type="int" value="3"></Option> | ||
</Option> | ||
</Option> | ||
<Option name="type" type="QString" value="collection"></Option> | ||
</Option> | ||
</data_defined_properties> | ||
</layer> | ||
</symbol> | ||
</symbols> | ||
<colorramps></colorramps> | ||
<textformats></textformats> | ||
<labelsettings></labelsettings> | ||
</qgis_style> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
# SPDX-License-Identifier: CC-BY-4.0 | ||
|
||
# Copyright © 2020 HolySpicoli (https://github.com/HolySpicoli/). | ||
# Licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). | ||
# See LICENSE.md (https://github.com/HolySpicoli/WikimediaCommonsFile-Saskatchewan_COVID-19_Infection_Rates.svg/blob/master/LICENSE.md). | ||
|
||
# Change to the directory of this script. | ||
cd "$(dirname "$0")" | ||
|
||
# Use 'xmllint' (http://xmlsoft.org/xmllint.html) to perform canonicalization (C14N) on the XML file generated by QGIS, for better version control. | ||
xmllint --c14n Infection_Rate_Fill_Style.xml > Infection_Rate_Fill_Style.c14n.xml |
Oops, something went wrong.