-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstates.php
122 lines (120 loc) · 2.76 KB
/
states.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?php
/**
* A list of (just a few) countries and their states.
* Full Name => ID
*
* Also includes a few corrections for typos present in some Foursquare venues.
*
* Used by build.php.
*/
return [
'United States' => [
'Alabama' => 'AL',
'Alaska' => 'AK',
'Arizona' => 'AZ',
'Arkansas' => 'AR',
'California' => 'CA',
'Colorado' => 'CO',
'Connecticut' => 'CT',
'Delaware' => 'DE',
'District of Columbia' => 'DC',
'D.C.' => 'DC',
'Florida' => 'FL',
'Georgia' => 'GA',
'Hawaii' => 'HI',
"Hawai'i" => 'HI',
'Idaho' => 'ID',
'Illinois' => 'IL',
'Indiana' => 'IN',
'Iowa' => 'IA',
'Kansas' => 'KS',
'Kentucky' => 'KY',
'Louisiana' => 'LA',
'Maine' => 'ME',
'Maryland' => 'MD',
'Massachusetts' => 'MA',
'Michigan' => 'MI',
'Minnesota' => 'MN',
'Mississippi' => 'MS',
'Missouri' => 'MO',
'Montana' => 'MT',
'Nebraska' => 'NE',
'Nevada' => 'NV',
'New Hampshire' => 'NH',
'New Jersey' => 'NJ',
'New Mexico' => 'NM',
'New York' => 'NY',
'North Carolina' => 'NC',
'North Dakota' => 'ND',
'Ohio' => 'OH',
'Oklahoma' => 'OK',
'Oregon' => 'OR',
'Pennsylvania' => 'PA',
'Rhode Island' => 'RI',
'South Carolina' => 'SC',
'South Dakota' => 'SD',
'Tennessee' => 'TN',
'Texas' => 'TX',
'Utah' => 'UT',
'Vermont' => 'VT',
'Virginia' => 'VA',
'Washington' => 'WA',
'West Virginia' => 'WV',
'Wisconsin' => 'WI',
'Wyoming' => 'WY',
],
'Germany' => [
'Baden-Württemberg' => 'BW',
'Bayern' => 'BY',
'Bavaria' => 'BY',
'Berlin' => 'BE',
'Brandenburg' => 'BB',
'Bremen' => 'HB',
'Hamburg' => 'HH',
'Hessen' => 'HE',
'Hesse' => 'HE',
'Niedersachsen' => 'NI',
'Lower Saxony' => 'NI',
'Mecklenburg-Vorpommern' => 'MV',
'Mecklenburg-West Pomerania' => 'MV',
'Mecklenburg-Vorpomme' => 'MV', // typo? Suggested edit
'-Vorpommern' => 'MV', // typo? Suggested edit
'Nordrhein-Westfalen' => 'NW',
'North Rhine-Westphalia' => 'NW',
'Rheinland-Pfalz' => 'RP',
'Rhineland-Palatinate' => 'RP',
'Saarland' => 'SL',
'Sachsen' => 'SN',
'Saxony' => 'SN',
'Sachsen-Anhalt' => 'ST',
'Saxony-Anhalt' => 'ST',
'Schleswig-Holstein' => 'SH',
'Thüringen' => 'TH',
'Thuringia' => 'TH',
],
'Canada' => [
'Alberta' => 'AB',
'British Columbia' => 'BC',
'Manitoba' => 'MB',
'New Brunswick' => 'NB',
'Newfoundland and Labrador' => 'NL',
'Nova Scotia' => 'NS',
'Ontario' => 'ON',
'Prince Edward Island' => 'PE',
'Quebec' => 'QC',
'Saskatchewan' => 'SK',
'Northwest Territories' => 'NT',
'Yukon' => 'YT',
'Nunavut' => 'NU',
],
'Australia' => [
'New South Wales' => 'NSW',
'Queensland' => 'QLD',
'South Australia' => 'SA',
'Tasmania' => 'TAS',
'Victoria' => 'VIC',
'Western Australia' => 'WA',
'Australian Capital Territory' => 'ACT',
'Northern Territory' => 'NT',
]
];