Skip to content

Commit 72be143

Browse files
authored
Merge pull request osm-search#3523 from mtmail/import-styles-country-code
Import-Styles.md - clarify country_code key
2 parents 086116b + ed7f0d9 commit 72be143

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/customize/Import-Styles.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ are accepted, all other values are discarded.
218218
main = {'addr:housenumber'},
219219
extra = {'addr:*'},
220220
postcode = {'postal_code', 'postcode', 'addr:postcode'},
221-
country = {'country-code', 'ISO3166-1'}
221+
country = {'country_code', 'ISO3166-1'}
222222
}
223223
```
224224

@@ -227,7 +227,7 @@ are accepted, all other values are discarded.
227227
object will fall back to be entered as a `place=house` in the database
228228
unless there is another interested main tag to be found.
229229

230-
Tags with keys `country-code` and `ISO3166-1` are saved with their
230+
Tags with keys `country_code` and `ISO3166-1` are saved with their
231231
value under `country` in the address tag list. The same thing happens
232232
to postcodes, they will always be saved under the key `postcode` thus
233233
normalizing the multitude of keys that are used in the OSM database.

0 commit comments

Comments
 (0)