diff --git a/geocoder/admin1/patches/20190111_france_regions_typos.sql b/geocoder/admin1/patches/20190111_france_regions_typos.sql new file mode 100644 index 0000000..b719913 --- /dev/null +++ b/geocoder/admin1/patches/20190111_france_regions_typos.sql @@ -0,0 +1,9 @@ +UPDATE global_province_polygons + SET synonyms = array_append(array_remove(synonyms, 'meurhe-et-moselle'), 'meurthe-et-moselle'), + "name" = 'Meurthe-et-Moselle' + WHERE adm1_code = 'FRA-5325'; + +UPDATE global_province_polygons + SET synonyms = array_append(array_remove(synonyms, 'seien-et-marne'), 'seine-et-marne'), + "name" = 'Seine-et-Marne' + WHERE adm1_code = 'FRA-5342'; diff --git a/geocoder/geocoder_download_patches.sh b/geocoder/geocoder_download_patches.sh index ed37756..fe58869 100644 --- a/geocoder/geocoder_download_patches.sh +++ b/geocoder/geocoder_download_patches.sh @@ -9,7 +9,8 @@ PATCHES_LIST="20160203_countries_bh_isocode.sql 20171004_merge_corsica_and_france.sql 20180117_hsinchu_synonyms.sql 20180306_add_ssd_rows_for_south_sudan.sql -20181011_add_synonyms_for_swaziland.sql" +20181011_add_synonyms_for_swaziland.sql, +20190111_france_regions_typos.sql" mkdir -p $TARGET_DIR_PATCHES