From 2f91f16c2a78666f4ab9ba5e18224e46d7b5570b Mon Sep 17 00:00:00 2001 From: cgonzalez Date: Fri, 25 Mar 2022 16:24:25 +0000 Subject: [PATCH] Fix typo regarding 'Haut-Rhin' region --- .../admin1/patches/20220325_france_region_haut-rhin_typo.sql | 3 +++ geocoder/geocoder_download_patches.sh | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 geocoder/admin1/patches/20220325_france_region_haut-rhin_typo.sql diff --git a/geocoder/admin1/patches/20220325_france_region_haut-rhin_typo.sql b/geocoder/admin1/patches/20220325_france_region_haut-rhin_typo.sql new file mode 100644 index 0000000..991d3af --- /dev/null +++ b/geocoder/admin1/patches/20220325_france_region_haut-rhin_typo.sql @@ -0,0 +1,3 @@ +UPDATE global_province_polygons + SET synonyms = array_append(array_remove(synonyms, 'haut-rhin'), 'haut-rhin') + WHERE adm1_code = 'FRA-5296'; diff --git a/geocoder/geocoder_download_patches.sh b/geocoder/geocoder_download_patches.sh index eaf298e..5534054 100644 --- a/geocoder/geocoder_download_patches.sh +++ b/geocoder/geocoder_download_patches.sh @@ -11,7 +11,8 @@ PATCHES_LIST="20160203_countries_bh_isocode.sql 20180306_add_ssd_rows_for_south_sudan.sql 20181011_add_synonyms_for_swaziland.sql 20190111_france_regions_typos.sql -20210118_add_renamed_country_north_macedonia.sql" +20210118_add_renamed_country_north_macedonia.sql +20220325_france_region_haut-rhin_typo.sql" mkdir -p $TARGET_DIR_PATCHES