A couple of geonames users have suggested to change the country code for
the United Kingdom from UK to GB. If no objections are voiced I will do
so these days. The search will still continue to accept UK for GB.
The official iso country code is GB, so there is a strong reason to use it.
We have used UK as it is a reserved code in iso and it is more widely
used. It is kind of not intuitive to use the code GB for the United
Kingdom as it seems like an abbreviation for Great Britain (not
including Northern Ireland). It is also interesting to note that
Guernsey, Jersey and the Isle of Man have their own iso codes, whereas
Northern Ireland has not and is included in the iso code GB.
Marc
I personally think UK is a much more widely used, and is a more
suitable choice. I didn't know about the iso being GB untill now
though.
We play with a lot of country data here, and United Kingdom's country
code is always UK. For this reason, I would much prefer it stayed as
this for Geonames.
Cheers,
Xin
Also, doing this exception would probably open the door to other cases,
and I don't think the geonames project (please correct me if I'm wrong)
should invest resources in creating another list of country codes. It's
not the goal of the project. Let's leave this discussion for the ISO.
Just my opinion.
Cheers,
xavi
Marc
Just to say I agree to change it to use the standard, makes sense. (but IIRC
you said that you would make it that you can still specify UK and it would
know you meant GB ;)
Barry
Marc