]> granicus.if.org Git - postgis/commitdiff
#997 put in correct codes for non-state us territories
authorRegina Obe <lr@pcorp.us>
Mon, 22 Aug 2011 21:24:52 +0000 (21:24 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 22 Aug 2011 21:24:52 +0000 (21:24 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7775 b70326c6-7e19-0410-871a-916f4a2858ee

extras/tiger_geocoder/tiger_2010/tables/lookup_tables_2010.sql

index ef42d9315e2326fbf34c3fa4a892ad3e1755b169..4a77ff8426828a5df78f9fbd3db533756e3b93b4 100644 (file)
@@ -86,7 +86,7 @@ DROP TABLE IF EXISTS state_lookup;
 CREATE TABLE state_lookup (st_code INTEGER PRIMARY KEY, name VARCHAR(40) UNIQUE, abbrev VARCHAR(3) UNIQUE, statefp char(2) UNIQUE);
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Alabama', 'AL', '01');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Alaska', 'AK', '02');
-INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('American Samoa', 'AS', -1);
+INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('American Samoa', 'AS', '60');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Arizona', 'AZ', '04');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Arkansas', 'AR', '05');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('California', 'CA', '06');
@@ -94,10 +94,10 @@ INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Colorado', 'CO', '08')
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Connecticut', 'CT', '09');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Delaware', 'DE', '10');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('District of Columbia', 'DC', '11');
-INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Federated States of Micronesia', 'FM', -2);
+INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Federated States of Micronesia', 'FM', '64');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Florida', 'FL', '12');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Georgia', 'GA', '13');
-INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Guam', 'GU', -7);
+INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Guam', 'GU', '66');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Hawaii', 'HI', '15');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Idaho', 'ID', '16');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Illinois', 'IL', '17');
@@ -107,7 +107,7 @@ INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Kansas', 'KS', '20');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Kentucky', 'KY', '21');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Louisiana', 'LA', '22');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Maine', 'ME', '23');
-INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Marshall Islands', 'MH', -3);
+INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Marshall Islands', 'MH', '68');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Maryland', 'MD', '24');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Massachusetts', 'MA', '25');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Michigan', 'MI', '26');
@@ -123,11 +123,11 @@ INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('New Mexico', 'NM', '35
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('New York', 'NY', '36');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('North Carolina', 'NC', '37');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('North Dakota', 'ND', '38');
-INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Northern Mariana Islands', 'MP', -4);
+INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Northern Mariana Islands', 'MP', '69');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Ohio', 'OH', '39');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Oklahoma', 'OK', '40');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Oregon', 'OR', '41');
-INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Palau', 'PW', -5);
+INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Palau', 'PW', '70');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Pennsylvania', 'PA', '42');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Puerto Rico', 'PR', '72');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Rhode Island', 'RI', '44');
@@ -137,7 +137,7 @@ INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Tennessee', 'TN', '47'
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Texas', 'TX', '48');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Utah', 'UT', '49');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Vermont', 'VT', '50');
-INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Virgin Islands', 'VI', -6);
+INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Virgin Islands', 'VI', '78');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Virginia', 'VA', '51');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('Washington', 'WA', '53');
 INSERT INTO state_lookup (name, abbrev, st_code) VALUES ('West Virginia', 'WV', '54');