From 47577566f2d36356cc4c566eca150fdb53b5623e Mon Sep 17 00:00:00 2001 From: Clay Smalley Date: Sat, 20 Apr 2024 16:03:50 -0400 Subject: [PATCH 1/3] assign Minnesota counties correct shields --- src/js/shield_defs.js | 164 ++++++++++++++++++++++-------------------- 1 file changed, 86 insertions(+), 78 deletions(-) diff --git a/src/js/shield_defs.js b/src/js/shield_defs.js index 4864535cc..7c2422c9b 100644 --- a/src/js/shield_defs.js +++ b/src/js/shield_defs.js @@ -1239,89 +1239,48 @@ export function loadShields() { }, }; [ - "Aitkin", - "Anoka", - "Becker", - "Beltrami", - "Benton", - "Big_Stone", - "Blue_Earth", "Brown", - "Carlton", - "Carver", - "Cass", - "Chippewa", "Chisago", - "Clay", - "Clearwater", - "Cook", + "Clearwater", // unconfirmed "Cottonwood", - "Crow_Wing", "Dakota", - "Dodge", - "Douglas", - "Faribault", - "Fillmore", + "Fillmore", // unconfirmed "Freeborn", "Goodhue", - "Grant", - "Hennepin", - "Houston", - "Hubbard", + "Grant", // unconfirmed "Isanti", - "Itasca", + "Itasca", // unconfirmed "Jackson", - "Kanabec", - "Kandiyohi", - "Kittson", - "Koochiching", - "Lac_qui_Parle", - "Lake", - "Lake_of_the_Woods", - "Le_Sueur", - "Lyon", - "Mahnomen", - "Marshall", - "Martin", + "Kandiyohi", // unconfirmed + "Kittson", // unconfirmed + "Koochiching", // unconfirmed + "Lake_of_the_Woods", // unconfirmed + "Mahnomen", // unconfirmed "McLeod", - "Meeker", - "Mille_Lacs", - "Morrison", - "Mower", - "Murray", - "Nicollet", - "Nobles", - "Norman", + "Meeker", // unconfirmed + "Nobles", // unconfirmed + "Norman", // unconfirmed "Olmsted", "Otter_Tail", "Pennington", "Pine", "Pipestone", "Polk", - "Pope", - "Ramsey", - "Red_Lake", - "Redwood", + "Pope", // unconfirmed + "Red_Lake", // unconfirmed + "Redwood", // unconfirmed "Renville", - "Rice", - "Roseau", + "Roseau", // unconfirmed "Saint_Louis", - "Scott", - "Sherburne", "Sibley", - "Stearns", - "Steele", - "Stevens", - "Swift", - "Todd", - "Traverse", + "Stearns", // unconfirmed + "Stevens", // unconfirmed + "Swift", // unconfirmed + "Traverse", // unconfirmed "Wabasha", - "Wadena", - "Waseca", + "Wadena", // unconfirmed "Washington", - "Watonwan", - "Wilkin", - "Winona", + "Wilkin", // unconfirmed "Wright", "Yellow_Medicine", ].forEach( @@ -1337,22 +1296,71 @@ export function loadShields() { roundedRectShield(Color.shields.white, Color.shields.black), ]) ); - ["CSAH", "CR"].forEach( - (network) => - (shields[`US:MN:Lincoln:${network}`] = pentagonUpShield( - 3, - 15, - Color.shields.blue, - Color.shields.yellow, - Color.shields.white - )) + [ + "Anoka", + "Blue_Earth", + "Hennepin", + "Lincoln", + "Mower", + "Murray", + "Ramsey", + "Scott", + ].forEach((county) => + ["CSAH", "CR"].forEach( + (network) => + (shields[`US:MN:${county}:${network}`] = pentagonUpShield( + 3, + 15, + Color.shields.blue, + Color.shields.yellow, + Color.shields.white + )) + ) ); - ["CSAH", "CR"].forEach( - (network) => - (shields[`US:MN:Rock:${network}`] = roundedRectShield( - Color.shields.white, - Color.shields.black - )) + [ + "Aitkin", + "Becker", + "Beltrami", + "Benton", + "Big_Stone", + "Carlton", + "Carver", + "Cass", + "Chippewa", + "Clay", + "Cook", + "Crow_Wing", + "Dodge", + "Douglas", + "Faribault", + "Houston", + "Hubbard", + "Kanabec", + "Lac_qui_Parle", + "Lake", + "Le_Sueur", + "Lyon", + "Marshall", + "Martin", + "Mille_Lacs", + "Morrison", + "Nicollet", + "Rice", + "Rock", + "Sherburne", + "Steele", + "Todd", + "Waseca", + "Watonwan", + "Winona", + ].forEach((county) => + ["CSAH", "CR"].forEach( + (network) => + (shields[`US:MN:${county}:${network}`] = roundedRectShield( + Color.shields.white, + Color.shields.black + )) + ) ); shields[`US:MN:Hennepin:Park_Access`] = trapezoidDownShield( 10, From dee92cda15529aca060dddb076dc86f253d25451 Mon Sep 17 00:00:00 2001 From: Clay Smalley Date: Wed, 24 Apr 2024 17:19:39 -0400 Subject: [PATCH 2/3] assign more Minnesota counties correct shields --- src/js/shield_defs.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/js/shield_defs.js b/src/js/shield_defs.js index 6593b742a..f00592876 100644 --- a/src/js/shield_defs.js +++ b/src/js/shield_defs.js @@ -1254,15 +1254,12 @@ export function loadShields() { "Isanti", "Itasca", // unconfirmed "Jackson", - "Kandiyohi", // unconfirmed "Kittson", // unconfirmed - "Koochiching", // unconfirmed - "Lake_of_the_Woods", // unconfirmed - "Mahnomen", // unconfirmed + "Lac_qui_Parle", "McLeod", - "Meeker", // unconfirmed + "Meeker", "Nobles", // unconfirmed - "Norman", // unconfirmed + "Norman", "Olmsted", "Otter_Tail", "Pennington", @@ -1273,17 +1270,15 @@ export function loadShields() { "Red_Lake", // unconfirmed "Redwood", // unconfirmed "Renville", - "Roseau", // unconfirmed + "Roseau", "Saint_Louis", "Sibley", "Stearns", // unconfirmed - "Stevens", // unconfirmed - "Swift", // unconfirmed - "Traverse", // unconfirmed + "Stevens", + "Traverse", "Wabasha", "Wadena", // unconfirmed "Washington", - "Wilkin", // unconfirmed "Wright", "Yellow_Medicine", ].forEach( @@ -1303,11 +1298,13 @@ export function loadShields() { "Anoka", "Blue_Earth", "Hennepin", + "Kandiyohi", "Lincoln", "Mower", "Murray", "Ramsey", "Scott", + "Wilkin", ].forEach((county) => ["CSAH", "CR"].forEach( (network) => @@ -1339,10 +1336,12 @@ export function loadShields() { "Houston", "Hubbard", "Kanabec", - "Lac_qui_Parle", + "Koochiching", "Lake", + "Lake_of_the_Woods", "Le_Sueur", "Lyon", + "Mahnomen", "Marshall", "Martin", "Mille_Lacs", @@ -1352,6 +1351,7 @@ export function loadShields() { "Rock", "Sherburne", "Steele", + "Swift", "Todd", "Waseca", "Watonwan", From 01efdf6e47979e31ef61f3a890855faf9861cfdc Mon Sep 17 00:00:00 2001 From: Clay Smalley Date: Sat, 4 May 2024 14:07:11 -0400 Subject: [PATCH 3/3] assign correct shields to remainder of Minnesota counties --- src/js/shield_defs.js | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/src/js/shield_defs.js b/src/js/shield_defs.js index fc77d95ee..3fa8738d9 100644 --- a/src/js/shield_defs.js +++ b/src/js/shield_defs.js @@ -1241,24 +1241,27 @@ export function loadShields() { bottom: 3, }, }; + shields["US:MN:Intercounty"] = roundedRectShield( + Color.shields.blue, + Color.shields.yellow, + Color.shields.white + ); [ "Brown", "Chisago", - "Clearwater", // unconfirmed + "Clearwater", "Cottonwood", "Dakota", - "Fillmore", // unconfirmed "Freeborn", "Goodhue", - "Grant", // unconfirmed "Isanti", - "Itasca", // unconfirmed "Jackson", - "Kittson", // unconfirmed + "Kittson", "Lac_qui_Parle", "McLeod", "Meeker", - "Nobles", // unconfirmed + "Morrison", + "Nobles", "Norman", "Olmsted", "Otter_Tail", @@ -1266,18 +1269,18 @@ export function loadShields() { "Pine", "Pipestone", "Polk", - "Pope", // unconfirmed - "Red_Lake", // unconfirmed - "Redwood", // unconfirmed + "Red_Lake", + "Redwood", "Renville", "Roseau", "Saint_Louis", "Sibley", - "Stearns", // unconfirmed + "Stearns", "Stevens", + "Todd", "Traverse", "Wabasha", - "Wadena", // unconfirmed + "Wadena", "Washington", "Wright", "Yellow_Medicine", @@ -1297,11 +1300,13 @@ export function loadShields() { [ "Anoka", "Blue_Earth", + "Fillmore", "Hennepin", "Kandiyohi", "Lincoln", "Mower", "Murray", + "Pope", "Ramsey", "Scott", "Wilkin", @@ -1333,8 +1338,10 @@ export function loadShields() { "Dodge", "Douglas", "Faribault", + "Grant", "Houston", "Hubbard", + "Itasca", "Kanabec", "Koochiching", "Lake", @@ -1345,14 +1352,12 @@ export function loadShields() { "Marshall", "Martin", "Mille_Lacs", - "Morrison", "Nicollet", "Rice", "Rock", "Sherburne", "Steele", "Swift", - "Todd", "Waseca", "Watonwan", "Winona",