diff --git a/geocoder/admin1/patches/20180117_hsinchu_synonyms.sql b/geocoder/admin1/patches/20180117_hsinchu_synonyms.sql new file mode 100644 index 0000000..f5f5148 --- /dev/null +++ b/geocoder/admin1/patches/20180117_hsinchu_synonyms.sql @@ -0,0 +1,4 @@ +UPDATE global_province_polygons + SET synonyms = array_append(array_remove(synonyms, 'hsinchu'), 'hsinchu county'), + "name" = 'Hsinchu County' + WHERE adm1_code = 'TWN-1162'; diff --git a/geocoder/geocoder_download_patches.sh b/geocoder/geocoder_download_patches.sh index 9e8ad88..dce4e1a 100644 --- a/geocoder/geocoder_download_patches.sh +++ b/geocoder/geocoder_download_patches.sh @@ -6,7 +6,8 @@ VERSION=0.0.1 PATCHES_LIST="20160203_countries_bh_isocode.sql 20160622_countries_synonym_congo.sql -20171004_merge_corsica_and_france.sql" +20171004_merge_corsica_and_france.sql +20180117_hsinchu_synonyms.sql" mkdir -p $TARGET_DIR_PATCHES