Created
December 1, 2013 02:08
-
-
Save meiqimichelle/7727723 to your computer and use it in GitHub Desktop.
JSON of US states (full names) and their average lat/long
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
[ | |
{ | |
"state":"Alaska", | |
"latitude":61.3850, | |
"longitude":-152.2683 | |
}, | |
{ | |
"state":"Alabama", | |
"latitude":32.7990, | |
"longitude":-86.8073 | |
}, | |
{ | |
"state":"Arkansas", | |
"latitude":34.9513, | |
"longitude":-92.3809 | |
}, | |
{ | |
"state":"Arizona", | |
"latitude":33.7712, | |
"longitude":-111.3877 | |
}, | |
{ | |
"state":"California", | |
"latitude":36.1700, | |
"longitude":-119.7462 | |
}, | |
{ | |
"state":"Colorado", | |
"latitude":39.0646, | |
"longitude":-105.3272 | |
}, | |
{ | |
"state":"Connecticut", | |
"latitude":41.5834, | |
"longitude":-72.7622 | |
}, | |
{ | |
"state":"Delaware", | |
"latitude":39.3498, | |
"longitude":-75.5148 | |
}, | |
{ | |
"state":"Florida", | |
"latitude":27.8333, | |
"longitude":-81.7170 | |
}, | |
{ | |
"state":"Georgia", | |
"latitude":32.9866, | |
"longitude":-83.6487 | |
}, | |
{ | |
"state":"Hawaii", | |
"latitude":21.1098, | |
"longitude":-157.5311 | |
}, | |
{ | |
"state":"Iowa", | |
"latitude":42.0046, | |
"longitude":-93.2140 | |
}, | |
{ | |
"state":"Idaho", | |
"latitude":44.2394, | |
"longitude":-114.5103 | |
}, | |
{ | |
"state":"Illinois", | |
"latitude":40.3363, | |
"longitude":-89.0022 | |
}, | |
{ | |
"state":"Indiana", | |
"latitude":39.8647, | |
"longitude":-86.2604 | |
}, | |
{ | |
"state":"Kansas", | |
"latitude":38.5111, | |
"longitude":-96.8005 | |
}, | |
{ | |
"state":"Kentucky", | |
"latitude":37.6690, | |
"longitude":-84.6514 | |
}, | |
{ | |
"state":"Louisiana", | |
"latitude":31.1801, | |
"longitude":-91.8749 | |
}, | |
{ | |
"state":"Massachusetts", | |
"latitude":42.2373, | |
"longitude":-71.5314 | |
}, | |
{ | |
"state":"Maryland", | |
"latitude":39.0724, | |
"longitude":-76.7902 | |
}, | |
{ | |
"state":"Maine", | |
"latitude":44.6074, | |
"longitude":-69.3977 | |
}, | |
{ | |
"state":"Michigan", | |
"latitude":43.3504, | |
"longitude":-84.5603 | |
}, | |
{ | |
"state":"Minnesota", | |
"latitude":45.7326, | |
"longitude":-93.9196 | |
}, | |
{ | |
"state":"Missouri", | |
"latitude":38.4623, | |
"longitude":-92.3020 | |
}, | |
{ | |
"state":"Mississippi", | |
"latitude":32.7673, | |
"longitude":-89.6812 | |
}, | |
{ | |
"state":"Montana", | |
"latitude":46.9048, | |
"longitude":-110.3261 | |
}, | |
{ | |
"state":"North Carolina", | |
"latitude":35.6411, | |
"longitude":-79.8431 | |
}, | |
{ | |
"state":"North Dakota", | |
"latitude":47.5362, | |
"longitude":-99.7930 | |
}, | |
{ | |
"state":"Nebraska", | |
"latitude":41.1289, | |
"longitude":-98.2883 | |
}, | |
{ | |
"state":"New Hampshire", | |
"latitude":43.4108, | |
"longitude":-71.5653 | |
}, | |
{ | |
"state":"New Jersey", | |
"latitude":40.3140, | |
"longitude":-74.5089 | |
}, | |
{ | |
"state":"New Mexico", | |
"latitude":34.8375, | |
"longitude":-106.2371 | |
}, | |
{ | |
"state":"Nevada", | |
"latitude":38.4199, | |
"longitude":-117.1219 | |
}, | |
{ | |
"state":"New York", | |
"latitude":42.1497, | |
"longitude":-74.9384 | |
}, | |
{ | |
"state":"Ohio", | |
"latitude":40.3736, | |
"longitude":-82.7755 | |
}, | |
{ | |
"state":"Oklahoma", | |
"latitude":35.5376, | |
"longitude":-96.9247 | |
}, | |
{ | |
"state":"Oregon", | |
"latitude":44.5672, | |
"longitude":-122.1269 | |
}, | |
{ | |
"state":"Pennsylvania", | |
"latitude":40.5773, | |
"longitude":-77.2640 | |
}, | |
{ | |
"state":"Rhode Island", | |
"latitude":41.6772, | |
"longitude":-71.5101 | |
}, | |
{ | |
"state":"South Carolina", | |
"latitude":33.8191, | |
"longitude":-80.9066 | |
}, | |
{ | |
"state":"South Dakota", | |
"latitude":44.2853, | |
"longitude":-99.4632 | |
}, | |
{ | |
"state":"Tennessee", | |
"latitude":35.7449, | |
"longitude":-86.7489 | |
}, | |
{ | |
"state":"Texas", | |
"latitude":31.1060, | |
"longitude":-97.6475 | |
}, | |
{ | |
"state":"Utah", | |
"latitude":40.1135, | |
"longitude":-111.8535 | |
}, | |
{ | |
"state":"Virginia", | |
"latitude":37.7680, | |
"longitude":-78.2057 | |
}, | |
{ | |
"state":"Vermont", | |
"latitude":44.0407, | |
"longitude":-72.7093 | |
}, | |
{ | |
"state":"Washington", | |
"latitude":47.3917, | |
"longitude":-121.5708 | |
}, | |
{ | |
"state":"Wisconsin", | |
"latitude":44.2563, | |
"longitude":-89.6385 | |
}, | |
{ | |
"state":"West Virginia", | |
"latitude":38.4680, | |
"longitude":-80.9696 | |
}, | |
{ | |
"state":"Wyoming", | |
"latitude":42.7475, | |
"longitude":-107.2085 | |
} | |
] |
@meiqimichelle Thanks a lot! You made my day!
Here is in case you need for a Weather API:
var stateCoordinates = {
"AK": { "lat": 61.3850, "lon": -152.2683 },
"AL": { "lat": 32.7990, "lon": -86.8073 },
"AR": { "lat": 34.9513, "lon": -92.3809 },
"AZ": { "lat": 33.7712, "lon": -111.3877 },
"CA": { "lat": 36.1700, "lon": -119.7462 },
"CO": { "lat": 39.0646, "lon": -105.3272 },
"CT": { "lat": 41.5834, "lon": -72.7622 },
"DE": { "lat": 39.3498, "lon": -75.5148 },
"FL": { "lat": 27.8333, "lon": -81.7170 },
"GA": { "lat": 32.9866, "lon": -83.6487 },
"HI": { "lat": 21.1098, "lon": -157.5311 },
"IA": { "lat": 42.0046, "lon": -93.2140 },
"ID": { "lat": 44.2394, "lon": -114.5103 },
"IL": { "lat": 40.3363, "lon": -89.0022 },
"IN": { "lat": 39.8647, "lon": -86.2604 },
"KS": { "lat": 38.5111, "lon": -96.8005 },
"KY": { "lat": 37.6690, "lon": -84.6514 },
"LA": { "lat": 31.1801, "lon": -91.8749 },
"MA": { "lat": 42.2373, "lon": -71.5314 },
"MD": { "lat": 39.0724, "lon": -76.7902 },
"ME": { "lat": 44.6074, "lon": -69.3977 },
"MI": { "lat": 43.3504, "lon": -84.5603 },
"MN": { "lat": 45.7326, "lon": -93.9196 },
"MO": { "lat": 38.4623, "lon": -92.3020 },
"MS": { "lat": 32.7673, "lon": -89.6812 },
"MT": { "lat": 46.9048, "lon": -110.3261 },
"NC": { "lat": 35.6411, "lon": -79.8431 },
"ND": { "lat": 47.5362, "lon": -99.7930 },
"NE": { "lat": 41.1289, "lon": -98.2883 },
"NH": { "lat": 43.4108, "lon": -71.5653 },
"NJ": { "lat": 40.3140, "lon": -74.5089 },
"NM": { "lat": 34.8375, "lon": -106.2371 },
"NV": { "lat": 38.4199, "lon": -117.1219 },
"NY": { "lat": 42.1497, "lon": -74.9384 },
"OH": { "lat": 40.3736, "lon": -82.7755 },
"OK": { "lat": 35.5376, "lon": -96.9247 },
"OR": { "lat": 44.5672, "lon": -122.1269 },
"PA": { "lat": 40.5773, "lon": -77.2640 },
"RI": { "lat": 41.6772, "lon": -71.5101 },
"SC": { "lat": 33.8191, "lon": -80.9066 },
"SD": { "lat": 44.2853, "lon": -99.4632 },
"TN": { "lat": 35.7449, "lon": -86.7489 },
"TX": { "lat": 31.1060, "lon": -97.6475 },
"UT": { "lat": 40.1135, "lon": -111.8535 },
"VA": { "lat": 37.7680, "lon": -78.2057 },
"VT": { "lat": 44.0407, "lon": -72.7093 },
"WA": { "lat": 47.3917, "lon": -121.5708 },
"WI": { "lat": 44.2563, "lon": -89.6385 },
"WV": { "lat": 38.4680, "lon": -80.9696 },
"WY": { "lat": 42.7475, "lon": -107.2085 }
};
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you! Just what I was looking for.