Skip to content

Instantly share code, notes, and snippets.

@drawks
Created February 22, 2012 16:40
Show Gist options
  • Save drawks/1885945 to your computer and use it in GitHub Desktop.
Save drawks/1885945 to your computer and use it in GitHub Desktop.
Dict of States and their bordering states.
"borders": {
"mississippi": [
"alabama",
"arkansas",
"louisiana",
"tennessee"
],
"oklahoma": [
"arkansas",
"colorado",
"kansas",
"missouri",
"new mexico",
"texas"
],
"wyoming": [
"colorado",
"montana",
"nebraska",
"south dakota",
"utah",
"idaho"
],
"minnesota": [
"iowa",
"michigan",
"north dakota",
"south dakota",
"wisconsin"
],
"illinois": [
"indiana",
"kentucky",
"missouri",
"iowa",
"wisconsin"
],
"arkansas": [
"louisiana",
"mississippi",
"missouri",
"oklahoma",
"tennessee",
"texas"
],
"new mexico": [
"arizona",
"colorado",
"oklahoma",
"texas",
"utah"
],
"indiana": [
"illinois",
"kentucky",
"michigan",
"ohio"
],
"maryland": [
"delaware",
"pennsylvania",
"virginia",
"district of columbia",
"west virginia"
],
"louisiana": [
"arkansas",
"mississippi",
"texas"
],
"idaho": [
"montana",
"nevada",
"oregon",
"utah",
"washington",
"wyoming"
],
"tennessee": [
"alabama",
"arkansas",
"georgia",
"kentucky",
"mississippi",
"missouri",
"north carolina",
"virginia"
],
"arizona": [
"california",
"colorado",
"nevada",
"new mexico",
"utah"
],
"iowa": [
"illinois",
"minnesota",
"missouri",
"nebraska",
"south dakota",
"wisconsin"
],
"michigan": [
"wisconsin",
"ohio",
"indiana",
"minnesota"
],
"kansas": [
"colorado",
"missouri",
"nebraska",
"oklahoma"
],
"utah": [
"arizona",
"colorado",
"idaho",
"nevada",
"new mexico",
"wyoming"
],
"virginia": [
"kentucky",
"maryland",
"north carolina",
"tennessee",
"west virginia",
"district of columbia"
],
"oregon": [
"california",
"idaho",
"nevada",
"washington"
],
"connecticut": [
"massachusetts",
"new york",
"rhode island"
],
"montana": [
"idaho",
"north dakota",
"south dakota",
"wyoming"
],
"california": [
"oregon",
"nevada",
"arizona"
],
"massachusetts": [
"connecticut",
"new hampshire",
"new york",
"rhode island",
"vermont"
],
"west virginia": [
"kentucky",
"maryland",
"ohio",
"pennsylvania",
"virginia"
],
"south carolina": [
"georgia",
"north carolina"
],
"new hampshire": [
"maine",
"massachusetts",
"vermont"
],
"wisconsin": [
"minnesota",
"michigan",
"iowa",
"illinois"
],
"vermont": [
"massachusetts",
"new hampshire",
"new york"
],
"georgia": [
"florida",
"alabama",
"tennessee",
"north carolina",
"south carolina"
],
"north dakota": [
"minnesota",
"montana",
"south dakota"
],
"pennsylvania": [
"new york",
"new jersey",
"delaware",
"maryland",
"west virginia",
"ohio"
],
"florida": [
"georgia",
"alabama"
],
"kentucky": [
"illinois",
"indiana",
"missouri",
"ohio",
"tennessee",
"virginia",
"west virginia"
],
"rhode island": [
"connecticut",
"massachusetts",
"new york"
],
"nebraska": [
"colorado",
"iowa",
"kansas",
"missouri",
"south dakota",
"wyoming"
],
"missouri": [
"arkansas",
"illinois",
"iowa",
"kansas",
"kentucky",
"nebraska",
"oklahoma",
"tennessee"
],
"ohio": [
"pennsylvania",
"west virginia",
"kentucky",
"indiana",
"michigan"
],
"alabama": [
"florida",
"georgia",
"mississippi",
"tennessee"
],
"south dakota": [
"iowa",
"minnesota",
"montana",
"nebraska",
"north dakota",
"wyoming"
],
"colorado": [
"arizona",
"kansas",
"nebraska",
"new mexico",
"oklahoma",
"utah",
"wyoming"
],
"new jersey": [
"new york",
"pennsylvania",
"delaware"
],
"washington": [
"idaho",
"oregon"
],
"north carolina": [
"georgia",
"south carolina",
"tennessee",
"virginia"
],
"new york": [
"vermont",
"massachusetts",
"connecticut",
"new jersey",
"pennsylvania",
"rhode island"
],
"texas": [
"arkansas",
"louisiana",
"new mexico",
"oklahoma"
],
"nevada": [
"arizona",
"california",
"idaho",
"oregon",
"utah"
],
"delaware": [
"maryland",
"new jersey",
"pennsylvania"
],
"maine": [
"new hampshire"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment