GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Serbia Montenegre  XML
Forum Index -> Administrative Divisions
Author Message
azpublic



Joined: 20/11/2009 02:27:20
Messages: 5
Offline

Hi !

just a litle post to let you know that Serbia and Montenegro are now separate countries with their own FIPS and ISO codes which is not reflected in the admin1Codes file.

Cheers
marc



Joined: 08/12/2005 07:39:47
Messages: 4501
Offline

The file admin1Codes.txt contains obsolete codes.


http://geonames.wordpress.com/2006/09/30/iso-codes-for-serbia-and-montenegro/

Best

Marc

[WWW]
azpublic



Joined: 20/11/2009 02:27:20
Messages: 5
Offline

Thank you Marc for your reply.

I am in the process off importing your admin codes in my DB and I just need to be sure about a couple of things.

in admin1Codes the first two letters of the code is the FIPS country code except for Switzerland and US where you have used iso codes.

In admin2Codes for the first two parts of the code I suppose you are also using the same codes as in adm1Codes to refer to the upper level 1 admin. But I'm not sure of it. Can you confirm it?

I'm asking this because I found some inconsistensies in admin2Codes where the first two characters don't map to any fips country code in my country database. (I'll try to post a list of entries that don't match any of my countries)


Thanks for your feedback.



marc



Joined: 08/12/2005 07:39:47
Messages: 4501
Offline

The document has not been updated, I will update it:

Most adm1 are FIPS codes. ISO codes are used for US, CH and ME. UK and Greece are using an additional level between country and fips code.

The adm1 code in the concatenated adm2 code refers to the respective adm1 code. You don't have to post a list of inconsistencies unless you want to help fix them.

Best


Marc

[WWW]
 
Forum Index -> Administrative Divisions
Go to:   
Powered by JForum 2.1.5 © JForum Team