[geoplanet] add County to the names of US counties outside of Louisiana and Alaska, add Parish in Lousiana
This commit is contained in:
@@ -323,6 +323,21 @@
|
|||||||
set county_id = 0
|
set county_id = 0
|
||||||
where state_id = 2347567;
|
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
|
-- Preferred name for New York
|
||||||
update aliases
|
update aliases
|
||||||
set name_type = "P"
|
set name_type = "P"
|
||||||
|
|||||||
Reference in New Issue
Block a user