[geoplanet] add County to the names of US counties outside of Louisiana and Alaska, add Parish in Lousiana

This commit is contained in:
Al
2016-12-08 02:30:37 -05:00
parent 7d0c402a31
commit 763c86dcd4

View File

@@ -323,6 +323,21 @@
set county_id = 0
where state_id = 2347567;
-- Counties outside of Louisiana should be $name County
update places
set name = printf("%s County", name)
where country_code = "US"
and place_type = "County"
and name not like "% City"
and parent_id not in (2347577, 2347560);
-- Counties outside of Louisiana should be $name County
update places
set name = printf("%s Parish", name)
where country_code = "US"
and place_type = "County"
and parent_id != 2347577;
-- Preferred name for New York
update aliases
set name_type = "P"