#5618 closed enhancement (fixed)
Value 'DK' for key 'addr:country' not in presets
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Internal preset | Version: | latest |
Keywords: | Cc: |
Description (last modified by )
when entering the key addr:country with the value DK i get a warning as in the summary.
Please add this and the most common used values. A list of the possible values can be found here
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Decoding_table
Attachments (0)
Change History (5)
comment:1 Changed 11 years ago by
Component: | Core validator → Internal preset |
---|---|
Description: | modified (diff) |
comment:3 Changed 10 years ago by
Java maintains an updated list of ISO 3166 codes:
http://stackoverflow.com/a/140235/2257172
http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html#getISOCountries()
We should use it in order to not reinvent the wheel by maintaining the list ourselves.
comment:4 follow-up: 5 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
In 5964/josm:
Note that these would be added to defaultpresets.xml. I suppose we'd only want to use the officially assigned values.