Skip to content

Instantly share code, notes, and snippets.

@musicalbigfoot
Last active May 22, 2019 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save musicalbigfoot/47f135e36654dd15e73cab21b1e324d9 to your computer and use it in GitHub Desktop.
Save musicalbigfoot/47f135e36654dd15e73cab21b1e324d9 to your computer and use it in GitHub Desktop.
Array of Montana Zip Code => County (updated 05/2019)
$montana_zip_counties = [
"59001" => "Stillwater",
"59002" => "Yellowstone",
"59003" => "Rosebud",
"59004" => "Rosebud",
"59006" => "Yellowstone",
"59007" => "Carbon",
"59008" => "Carbon",
"59010" => "Treasure",
"59011" => "Sweet Grass",
"59012" => "Rosebud",
"59013" => "Carbon",
"59014" => "Carbon",
"59015" => "Yellowstone",
"59016" => "Big Horn",
"59018" => "Park",
"59019" => "Stillwater",
"59020" => "Park",
"59022" => "Big Horn",
"59024" => "Yellowstone",
"59025" => "Big Horn",
"59026" => "Carbon",
"59027" => "Park",
"59028" => "Stillwater",
"59029" => "Carbon",
"59030" => "Park",
"59031" => "Big Horn",
"59032" => "Fergus",
"59033" => "Sweet Grass",
"59034" => "Big Horn",
"59035" => "Big Horn",
"59036" => "Wheatland",
"59037" => "Yellowstone",
"59038" => "Treasure",
"59039" => "Rosebud",
"59041" => "Carbon",
"59043" => "Rosebud",
"59044" => "Yellowstone",
"59046" => "Valley",
"59047" => "Park",
"59050" => "Big Horn",
"59052" => "Sweet Grass",
"59053" => "Meagher",
"59054" => "Musselshell",
"59055" => "Sweet Grass",
"59057" => "Yellowstone",
"59058" => "Garfield",
"59059" => "Musselshell",
"59061" => "Stillwater",
"59062" => "Powder River",
"59063" => "Stillwater",
"59064" => "Yellowstone",
"59065" => "Park",
"59066" => "Big Horn",
"59067" => "Stillwater",
"59068" => "Carbon",
"59069" => "Stillwater",
"59070" => "Carbon",
"59071" => "Carbon",
"59072" => "Musselshell",
"59073" => "Musselshell",
"59074" => "Valley",
"59075" => "Big Horn",
"59076" => "Treasure",
"59077" => "Garfield",
"59078" => "Wheatland",
"59079" => "Yellowstone",
"59081" => "Park",
"59082" => "Park",
"59083" => "Rosebud",
"59084" => "Petroleum",
"59085" => "Wheatland",
"59086" => "Park",
"59087" => "Petroleum",
"59088" => "Yellowstone",
"59089" => "Big Horn",
"59101" => "Yellowstone",
"59102" => "Yellowstone",
"59103" => "Yellowstone",
"59104" => "Yellowstone",
"59105" => "Yellowstone",
"59106" => "Yellowstone",
"59107" => "Yellowstone",
"59108" => "Yellowstone",
"59111" => "Yellowstone",
"59112" => "Yellowstone",
"59114" => "Yellowstone",
"59115" => "Yellowstone",
"59116" => "Yellowstone",
"59117" => "Yellowstone",
"59201" => "McCone",
"59211" => "Sheridan",
"59212" => "Roosevelt",
"59213" => "Richland",
"59214" => "McCone",
"59215" => "McCone",
"59217" => "Richland",
"59218" => "Roosevelt",
"59219" => "Sheridan",
"59221" => "Richland",
"59222" => "Daniels",
"59223" => "Valley",
"59225" => "Valley",
"59226" => "Roosevelt",
"59230" => "Valley",
"59231" => "Valley",
"59240" => "Valley",
"59241" => "Valley",
"59242" => "Sheridan",
"59243" => "Richland",
"59244" => "Valley",
"59247" => "Sheridan",
"59248" => "Valley",
"59250" => "Valley",
"59252" => "Sheridan",
"59253" => "Daniels",
"59254" => "Sheridan",
"59255" => "Richland",
"59256" => "Sheridan",
"59257" => "Sheridan",
"59258" => "Sheridan",
"59259" => "Dawson",
"59260" => "Valley",
"59261" => "Phillips",
"59262" => "Richland",
"59263" => "Daniels",
"59270" => "Richland",
"59273" => "Valley",
"59274" => "McCone",
"59275" => "Sheridan",
"59276" => "Daniels",
"59301" => "Custer",
"59311" => "Carter",
"59312" => "Garfield",
"59313" => "Fallon",
"59314" => "Powder River",
"59315" => "Dawson",
"59316" => "Carter",
"59317" => "Powder River",
"59318" => "Garfield",
"59319" => "Carter",
"59322" => "Garfield",
"59323" => "Rosebud",
"59324" => "Carter",
"59326" => "Prairie",
"59327" => "Rosebud",
"59330" => "Dawson",
"59332" => "Carter",
"59333" => "Rosebud",
"59336" => "Custer",
"59337" => "Garfield",
"59338" => "Custer",
"59339" => "Dawson",
"59341" => "Prairie",
"59343" => "Powder River",
"59344" => "Fallon",
"59345" => "Powder River",
"59347" => "Rosebud",
"59349" => "Prairie",
"59351" => "Powder River",
"59353" => "Wibaux",
"59354" => "Fallon",
"59401" => "Cascade",
"59402" => "Cascade",
"59403" => "Cascade",
"59404" => "Cascade",
"59405" => "Cascade",
"59406" => "Cascade",
"59410" => "Lewis and Clark",
"59411" => "Glacier",
"59412" => "Cascade",
"59414" => "Cascade",
"59416" => "Pondera",
"59417" => "Glacier",
"59418" => "Judith Basin",
"59419" => "Teton",
"59420" => "Chouteau",
"59421" => "Cascade",
"59422" => "Teton",
"59424" => "Fergus",
"59425" => "Pondera",
"59427" => "Glacier",
"59430" => "Fergus",
"59432" => "Pondera",
"59433" => "Teton",
"59434" => "Glacier",
"59435" => "Toole",
"59436" => "Teton",
"59440" => "Chouteau",
"59441" => "Fergus",
"59442" => "Chouteau",
"59443" => "Cascade",
"59444" => "Liberty",
"59446" => "Chouteau",
"59447" => "Judith Basin",
"59448" => "Pondera",
"59450" => "Chouteau",
"59451" => "Fergus",
"59452" => "Judith Basin",
"59453" => "Wheatland",
"59454" => "Toole",
"59456" => "Toole",
"59457" => "Fergus",
"59460" => "Chouteau",
"59461" => "Liberty",
"59462" => "Judith Basin",
"59463" => "Cascade",
"59464" => "Fergus",
"59465" => "Cascade",
"59466" => "Toole",
"59467" => "Teton",
"59468" => "Teton",
"59469" => "Judith Basin",
"59471" => "Fergus",
"59472" => "Cascade",
"59474" => "Toole",
"59477" => "Cascade",
"59479" => "Judith Basin",
"59480" => "Cascade",
"59482" => "Toole",
"59483" => "Cascade",
"59484" => "Toole",
"59485" => "Cascade",
"59486" => "Pondera",
"59487" => "Cascade",
"59489" => "Fergus",
"59501" => "Hill",
"59520" => "Chouteau",
"59521" => "Hill",
"59522" => "Liberty",
"59523" => "Blaine",
"59524" => "Phillips",
"59525" => "Hill",
"59526" => "Blaine",
"59527" => "Blaine",
"59528" => "Hill",
"59529" => "Blaine",
"59530" => "Hill",
"59531" => "Liberty",
"59532" => "Hill",
"59535" => "Blaine",
"59537" => "Phillips",
"59538" => "Phillips",
"59540" => "Hill",
"59542" => "Blaine",
"59544" => "Phillips",
"59545" => "Liberty",
"59546" => "Phillips",
"59547" => "Blaine",
"59601" => "Lewis and Clark",
"59602" => "Lewis and Clark",
"59604" => "Lewis and Clark",
"59620" => "Lewis and Clark",
"59623" => "Lewis and Clark",
"59624" => "Lewis and Clark",
"59625" => "Lewis and Clark",
"59626" => "Lewis and Clark",
"59631" => "Jefferson",
"59632" => "Jefferson",
"59633" => "Lewis and Clark",
"59634" => "Jefferson",
"59635" => "Lewis and Clark",
"59636" => "Lewis and Clark",
"59638" => "Jefferson",
"59639" => "Lewis and Clark",
"59640" => "Lewis and Clark",
"59641" => "Broadwater",
"59642" => "Meagher",
"59643" => "Broadwater",
"59644" => "Broadwater",
"59645" => "Meagher",
"59647" => "Broadwater",
"59648" => "Lewis and Clark",
"59701" => "Silver Bow",
"59702" => "Silver Bow",
"59703" => "Silver Bow",
"59707" => "Silver Bow",
"59710" => "Madison",
"59711" => "Deer Lodge",
"59713" => "Powell",
"59714" => "Gallatin",
"59715" => "Gallatin",
"59716" => "Gallatin",
"59717" => "Gallatin",
"59718" => "Gallatin",
"59719" => "Gallatin",
"59720" => "Madison",
"59721" => "Madison",
"59722" => "Powell",
"59724" => "Beaverhead",
"59725" => "Beaverhead",
"59727" => "Silver Bow",
"59728" => "Powell",
"59729" => "Madison",
"59730" => "Gallatin",
"59731" => "Powell",
"59732" => "Beaverhead",
"59733" => "Powell",
"59735" => "Madison",
"59736" => "Beaverhead",
"59739" => "Beaverhead",
"59740" => "Madison",
"59741" => "Gallatin",
"59743" => "Silver Bow",
"59745" => "Madison",
"59746" => "Beaverhead",
"59747" => "Madison",
"59748" => "Silver Bow",
"59749" => "Madison",
"59750" => "Silver Bow",
"59751" => "Madison",
"59752" => "Gallatin",
"59754" => "Madison",
"59755" => "Madison",
"59756" => "Deer Lodge",
"59758" => "Gallatin",
"59759" => "Jefferson",
"59760" => "Gallatin",
"59761" => "Beaverhead",
"59762" => "Beaverhead",
"59771" => "Gallatin",
"59772" => "Gallatin",
"59773" => "Gallatin",
"59801" => "Missoula",
"59802" => "Missoula",
"59803" => "Missoula",
"59804" => "Missoula",
"59806" => "Missoula",
"59807" => "Missoula",
"59808" => "Missoula",
"59812" => "Missoula",
"59820" => "Mineral",
"59821" => "Lake",
"59823" => "Missoula",
"59824" => "Lake",
"59825" => "Missoula",
"59826" => "Missoula",
"59827" => "Ravalli",
"59828" => "Ravalli",
"59829" => "Ravalli",
"59830" => "Mineral",
"59831" => "Sanders",
"59832" => "Granite",
"59833" => "Ravalli",
"59834" => "Missoula",
"59835" => "Ravalli",
"59837" => "Granite",
"59840" => "Ravalli",
"59841" => "Ravalli",
"59842" => "Mineral",
"59843" => "Powell",
"59844" => "Sanders",
"59845" => "Flathead",
"59846" => "Missoula",
"59847" => "Missoula",
"59848" => "Sanders",
"59851" => "Missoula",
"59853" => "Sanders",
"59854" => "Powell",
"59855" => "Lake",
"59856" => "Sanders",
"59858" => "Granite",
"59859" => "Sanders",
"59860" => "Lake",
"59863" => "Lake",
"59864" => "Lake",
"59865" => "Lake",
"59866" => "Mineral",
"59867" => "Mineral",
"59868" => "Missoula",
"59870" => "Ravalli",
"59871" => "Ravalli",
"59872" => "Mineral",
"59873" => "Sanders",
"59874" => "Sanders",
"59875" => "Ravalli",
"59901" => "Flathead",
"59903" => "Flathead",
"59904" => "Flathead",
"59910" => "Lake",
"59911" => "Flathead",
"59912" => "Flathead",
"59913" => "Flathead",
"59914" => "Lake",
"59915" => "Lake",
"59916" => "Flathead",
"59917" => "Lincoln",
"59918" => "Lincoln",
"59919" => "Flathead",
"59920" => "Flathead",
"59921" => "Flathead",
"59922" => "Flathead",
"59923" => "Lincoln",
"59925" => "Flathead",
"59926" => "Flathead",
"59927" => "Flathead",
"59928" => "Flathead",
"59929" => "Lake",
"59930" => "Lincoln",
"59931" => "Lake",
"59932" => "Flathead",
"59933" => "Lincoln",
"59934" => "Lincoln",
"59935" => "Lincoln",
"59936" => "Flathead",
"59937" => "Flathead"
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment