From f7b440fac5b083e567bcfeaa2248de17ddc1b645 Mon Sep 17 00:00:00 2001 From: Carla Date: Tue, 5 May 2015 18:31:28 +0200 Subject: [PATCH] Updates query with respect to new ISO2 source --- geocoder/admin0/sql/build_synonym_table.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/geocoder/admin0/sql/build_synonym_table.sql b/geocoder/admin0/sql/build_synonym_table.sql index f13c29f..bf3a990 100644 --- a/geocoder/admin0/sql/build_synonym_table.sql +++ b/geocoder/admin0/sql/build_synonym_table.sql @@ -51,8 +51,7 @@ INSERT INTO admin0_synonyms (name, rank, adm0_a3) SELECT iso_a2, 4, adm0_a3 FROM - ne_admin0_v3 - WHERE iso_a2 NOT LIKE '-99'; + wikipedia_iso_3166_2; -- insert formal_en as name with a rank = 5 INSERT INTO admin0_synonyms (name, rank, adm0_a3)