The wiki-page for addr:country=*
is quite short but still clear. The value of addr:country=*
should be the country-code according to ISO 3166-1 alpha-2. That means “DE” for Germany, “US” for the United States of America, “FR” for France and so on. These codes are always two-letters long and always uppder case.
Currently there are 2634 objects that have a addr:country with a different value:
Often the situation is still clear. There are for example 401x
addr:country=Uganda
instead of addr:country=UG
in Uganda and 115x addr:country=USA
instead of addr:country=US
in the USA.
I started a MapRoulette-Challenge to clean this up:
To make the clean up more efficient I propose to change the value of addr:country=*
in mass edits when:
- It is absolutely clear what the value of
addr:country=*
means. That is the case when it contains the full name of the country in any language or a different but still clear abbroviation.
and
- The meaning of the
addr:country=*
-value is plausible. That is the case when the obviouse meaning of the value inaddr:country
matches the location of the object.
I will group the edits by location. The mass-edits will not be started automatically. I propose to repeat the mass-edits when ever I see similar errors reappearing.
Examples for possible edits:
- All object with
addr:country=Deutschland
,addr:country=Germany
,addr:country=DEU
,addr:country=D
,addr:country=Allemagne
, … within the borders of Germany will be changed toaddr:country=DE
. - All objects with
addr:country=USA
within the borders of the USA will be changed toaddr:country=US
. - All objects with
addr:country=中國
(Chinese name of China) within the borders of China will be cahnged toaddr:country:CN
)
As I am proposing to repeat the mass edit as needed I can not make a finite list of edits I will do. The list above contains theoretical examples. Some of these values are currently not included in OSM.
Examples for objects that won’t be automatically edited:
- An object with
addr:country=France
within the borders of Spain will not be changed automatically. - An object with
addr:country=restaurant
will not be changed automatically.
For such objects manual review is requiered.
I am unsure on how to handle objects like these. addr:country=France
on an object in Guadeloupe, an overseas department of France. Should that be changed to addr:country=FR
(for France) or addr:country=GP
(for Guadeloupe)?
What do you think about such mass-edits?