Merge pull request #3523 from mtmail/import-styles-country-code

Import-Styles.md - clarify country_code key
This commit is contained in:
Sarah Hoffmann 2024-08-26 14:03:47 +02:00 committed by GitHub
commit 72be143cef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.