Modify

Opened 14 years ago

Closed 12 years ago

Last modified 12 years ago

#5618 closed enhancement (fixed)

Value 'DK' for key 'addr:country' not in presets

Reported by: trekki <bergenholtz@…> Owned by: team
Priority: minor Milestone:
Component: Internal preset Version: latest
Keywords: Cc:

Description (last modified by joshdoe)

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 by joshdoe, 13 years ago

Component: Core validatorInternal preset
Description: modified (diff)

Note that these would be added to defaultpresets.xml. I suppose we'd only want to use the officially assigned values.

comment:2 by skyper, 12 years ago

Do we need to add the whole list or are there any other plans ?

comment:3 by Don-vip, 12 years ago

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 by Don-vip, 12 years ago

Resolution: fixed
Status: newclosed

In 5964/josm:

fix #5618 - Use full list of ISO 3166 country codes from JDK for addr:country in presets with new preset attribute values_from

in reply to:  4 comment:5 by skyper, 12 years ago

Replying to Don-vip:

In 5964/josm:

fix #5618 - Use full list of ISO 3166 country codes from JDK for addr:country in presets with new preset attribute values_from

Nice there was someone asking to have lists for brand=* on talk-de@osm today.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.