Yeah this will take some doing. I've only ever done it for UK postcodes. This site has a great example and a database of postcodes:
http://www.pjenkins.co.uk/
If you google postcode databases you will find a few companies that provide update databases that you can use, for a price of course...
There's no quick and easy way to do this, the first part it getting your databases for the countries you want, then you need to find out how the codes correspond to coordinates. Unfortunately I doubt anyone will be posting the php code that will do this for you, it's just a case of tackling each country at a time. Good Luck!
Main Topics
Browse All Topics





by: Ray_PaseurPosted on 2008-04-07 at 11:42:41ID: 21299524
You're embarking on a big undertaking, one that will get you a masters degree if you do it right. You might want to start your research here: http://en.wikipedia.org/wi ki/UK_post codes - look in the "See also" for some good references. Good luck, ~Ray