Author |
Message |
02/06/2007 16:48:10
|
Ziege
Joined: 30/05/2007 22:14:13
Messages: 5
Offline
|
Hey,
I want taht the users on my website enter their city and postal code, but as I read on wikipedia (German) there are countries without postal codes, so I have to check if the selected country has postal codes...
Wikipedia lists the following countries:
* Antigua und Barbuda
* Benin
* Burkina Faso
* Ghana
* Ireland (planned for 2008)
* Colombia
* Mali
* Namibia
* Peru (only in the region Lima, planned for the whole country)
* Togo
* Uganda
* Vietnam
Is this list complete? Do you have any further information?
Thanks!
|
|
|
02/06/2007 16:58:14
|
marc
Joined: 08/12/2005 07:39:47
Messages: 4412
Offline
|
The Universal Postal Union has 191 members, of which 117 have postal codes : http://www.upu.int/post_code/en/postcodes.html
|
|
|
|
02/06/2007 17:23:37
|
Ziege
Joined: 30/05/2007 22:14:13
Messages: 5
Offline
|
The site lists only 70 countries which have a postal code. That's not exactly what I'm searching for... but it helps to decide for which countries the postal code is not optional on registration.
|
|
|
16/06/2008 04:25:17
|
JasonDimmick
Joined: 16/06/2008 04:18:53
Messages: 1
Offline
|
Code:
AFG--Afghanistan
AGO--Angola
AIA--Anguilla
ATA--Antarctica
ABW--Aruba
BHS--Bahamas
BLZ--Belize
BEN--Benin
BTN--Bhutan
BWA--Botswana
BDI--Burundi
CMR--Cameroon
COL--Colombia
COM--Comoros
COG--Congo
COK--Cook Islands
CIV--Cote D'Ivoire
CUB--Cuba
CYP--Cyprus
DJI--Djibouti
DMA--Dominica
ECU--Ecuador
GNQ--Equatorial Guinea
ERI--Eritrea
ETH--Ethiopia
FJI--Fiji
GMB--Gambia
GIB--Gibraltar
GRD--Grenada
GIN--Guinea
GUY--Guyana
HKG--Hong Kong
IRL--Ireland
JOR--Jordan
KEN--Kenya
KIR--Kiribati
MWI--Malawi
MLI--Mali
MRT--Mauritania
MUS--Mauritius
MSR--Montserrat
NAM--Namibia
NRU--Nauru
ANT--Netherlands Antilles
NIU--Niue
OMN--Oman
PAN--Panama
RWA--Rwanda
KNA--Saint Kitts and Nevis
LCA--Saint Lucia
VCT--Saint Vincent and Grenadines
STP--Sao Tome and Principe
SAU--Saudi Arabia
SYC--Seychelles
SLE--Sierra Leone
SLB--Solomon Islands
SOM--Somalia
ZAF--South Africa
SUR--Suriname
TZA--Tanzania
TKL--Tokelau
TON--Tonga
TTO--Trinidad and Tobago
TUV--Tuvalu
UGA--Uganda
ARE--United Arab Emirates
VUT--Vanuatu
YEM--Yemen
ZMB--Zambia
ZWE--Zimbabwe
Above is an abbreviation/key - name/value list I made with some interpretation made from this list http://en.wikipedia.org/wiki/List_of_postal_codes
I by no means guarantee its accuracy or completeness but it's a good start.
|
|
|
16/06/2008 07:44:39
|
marc
Joined: 08/12/2005 07:39:47
Messages: 4412
Offline
|
For user entry validation the postal code format pattern could also be useful. It is included in the countries.txt file in the sourceforge repository :
http://geonames.cvs.sourceforge.net/geonames/data/
Marc
PS: Samokk has merged the two country files:
http://forum.geonames.org/gforum/posts/list/910.page
|
|
|
|
22/06/2008 20:04:09
|
grahamrhind
Joined: 22/06/2008 19:58:24
Messages: 4
Offline
|
Jason's list is not accurate, I'm afraid. Some of the countries listed do (now) have postal code systems. For the most up-to-date information, go to my pages at http://www.grcdi.nl/linkspc.htm, go to the country you're interested in, and it will have "No postal code system" next to the country if it has no system. Otherwise, it has postal codes.
Graham Rhind
|
|
|
24/06/2008 18:26:47
|
grofzr
Joined: 24/06/2008 18:23:20
Messages: 1
Offline
|
I have list of Serbia postal codes.
How can i add to geonames.org?
|
|
|
24/06/2008 20:07:39
|
marc
Joined: 08/12/2005 07:39:47
Messages: 4412
Offline
|
Hi Grofzr
You can post them as attachment to the posting or send them to me and I will include them in the database, as long as the license allows us to do so.
Best
Marc
|
|
|
|
|