Jump to content

Recommended Posts

if you don't need to go down to postcode sort of detail, but can live with cities, then you can grab a copy of the cities database from here:

 

http://www.maxmind.com/app/geolitecity

you'll need to do some cleaning up and decent filtering, but i've used it and got some pretty good results. coupled with some basic maths, you can easily work out what's "local" (ie within a certain radius), if that is indeed what you're trying to do.

 

keep an eye on other parts of that site too, as on their postcode page, they state:

 

These files have most of the commonly used postal codes, but are not complete. We plan to make more countries available over time, as well as adding region name, latitude and longitude columns

 

http://www.maxmind.com/app/postalcode

 

many of these sites that deal with postcodes to auto-fill address up to street level didn't start out like that - obviously extra features are added over time and with money.

Link to comment
https://forums.phpfreaks.com/topic/86147-location-database/#findComment-439977
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.