diff --git a/geocoder/admin1/README.md b/geocoder/admin1/README.md index 3f4b4b1..82a07c1 100644 --- a/geocoder/admin1/README.md +++ b/geocoder/admin1/README.md @@ -8,6 +8,7 @@ Accepts a list of terms. Terms are searched against the ```name_``` column in `` 1. Upload fresh Quattro Shapes admin1 data to `qs_adm1` table. 2. Upload fresh Quattro Shapes admin1 **region** data to `qs_adm1_region` table. +3. Upload fresh Natural Earth admin1 states provinces data to `ne_admin1_v3` 3. If fresh, add all sql/indexes.sql and sql/triggers.sql 4. Run the sql/build_data_table.sql script. 5. Run the sql/build_admin1_synonyms.sql script. @@ -18,9 +19,9 @@ Accepts a list of terms. Terms are searched against the ```name_``` column in `` (see the wiki page: [Geocoder Data Sources #admin1-states-provinces](https://github.com/CartoDB/data-services/wiki/Geocoder-Datasources#admin1-statesprovinces)) -- Quattro Shapes admin1 and admin1 regions are being used as geometry. Users dislike natural earth's small admin1 units in countries like Spain, Italy and France so we have replaced these smaller units with their parent regions. +- Quattro Shapes admin1 and admin1 region polygons are being used for geometry. Users dislike natural earth's small admin1 units in countries like Spain, Italy and France so we have replaced these smaller units with their parent regions. -- Natural Earth Admin1 alternate name spellings will be used when the Quattro Shapes `qs_source` is Natural Earth. +- Natural Earth admin1 alternate name spellings will be used as synonyms when the Quattro Shapes `qs_source` = 'Natural Earth'. ## Admin1 Synonyms @@ -43,5 +44,8 @@ The table contains the following columns to be populated: | 0 | Quattro Shapes | qs_a1 | default name for qs_adm1 | | 0 | Quattro Shapes | qs_a1r | default name for qs_adm1_region | | 1 | Quattro Shapes | qs_a1_lc | admin code | -| +| 2 | Natural Earth | name_alt | alternate spelling | +| 3 | Natural Earth | abbrev | abbreviation | +| 4 | Natural Earth | postal | postal code | +| 5 | Natural Earth | gn_name | formal english name |