Skip to content

Commit

Permalink
Merge pull request #3523 from mtmail/import-styles-country-code
Browse files Browse the repository at this point in the history
Import-Styles.md - clarify country_code key
  • Loading branch information
lonvia authored Aug 26, 2024
2 parents 086116b + ed7f0d9 commit 72be143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/customize/Import-Styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
}
```

Expand All @@ -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.
Expand Down

0 comments on commit 72be143

Please sign in to comment.