X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7205491b8495e48c62b28373d1746e77d475582b..6bc044d9c7d0f849aeba4e5ffae0a3828d5fa010:/docs/customize/Import-Styles.md diff --git a/docs/customize/Import-Styles.md b/docs/customize/Import-Styles.md index eb548e10..003e56e3 100644 --- a/docs/customize/Import-Styles.md +++ b/docs/customize/Import-Styles.md @@ -191,7 +191,7 @@ They take _key match lists_ for main and extra names respectively. Address tags will be used to build up the address of an object. `set_address_tags()` takes a table with arbitrary fields pointing to -_key match lists_. To fields have a special meaning: +_key match lists_. Two fields have a special meaning: * __main__: defines the tags that make a full address object out of the OSM object. This @@ -218,7 +218,7 @@ are accepted, all other values are discarded. main = {'addr:housenumber'}, extra = {'addr:*'}, postcode = {'postal_code', 'postcode', 'addr:postcode'}, - country = {'country-code', 'ISO3166-1'} + country = {'country_code', 'ISO3166-1'} } ``` @@ -227,7 +227,7 @@ are accepted, all other values are discarded. object will fall back to be entered as a `place=house` in the database unless there is another interested main tag to be found. - Tags with keys `country-code` and `ISO3166-1` are saved with their + Tags with keys `country_code` and `ISO3166-1` are saved with their value under `country` in the address tag list. The same thing happens to postcodes, they will always be saved under the key `postcode` thus normalizing the multitude of keys that are used in the OSM database.