From: Sarah Hoffmann Date: Mon, 26 Aug 2024 12:03:47 +0000 (+0200) Subject: Merge pull request #3523 from mtmail/import-styles-country-code X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/72be143cef05bf77655cebbfb0f82b8d3426872e?hp=086116b3a14f84a5d23b33acd5390245aea88d71 Merge pull request #3523 from mtmail/import-styles-country-code Import-Styles.md - clarify country_code key --- diff --git a/docs/customize/Import-Styles.md b/docs/customize/Import-Styles.md index 867e3b52..003e56e3 100644 --- a/docs/customize/Import-Styles.md +++ b/docs/customize/Import-Styles.md @@ -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.