Jump to content

Recommended Posts

I've been developing an application for some time now. It's come to the point to populate the database with accurate information. I've been searching for a list of City, State, Zip, Long & Lat for each. How can I find something like this? I see tons of them for sale, 79 bucks or so, but I don't want to pay. How do most of these people get their data?

 

Thank you

Link to comment
https://forums.phpfreaks.com/topic/232115-application-data-cities-zip/
Share on other sites

http://jesseprice.com/mysql-city-state-zip-latitude-longitude-database/

 

Google is your friend.

 

I attached the referened material to this post so you can download the table structure, and zip code information from it. They can also be found at the URL above, I didn't read everything on the page except that it contained all the information you seem to be looking for.

 

[attachment deleted by admin]

Thank you guys!

 

So assuming I want to do a radius search based on Address OR City or Zip, i felt that a longitude & latitude search would be best.

 

The reasons I came up with were:

Most accurate

MySQL can handle doing all the math.

 

I'm not completely sure about this if it's the best way, but.. what do you guys think? Thank you!

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.