![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Nov 2006
Posts: 16
Rep Power: 0
![]() |
A Mysql database of all us cities and states
Does anyone have this or know how to set it up? I also need it to find places by zip code search.
|
|
|
|
|
|
#2 |
|
PFO Founder
![]() ![]() |
http://geonames.usgs.gov/domestic/download_data.htm
it isn't a mysql db but you can import it someway I am sure, I haven't looked at the data so I am not sure how you would have to go about it but thought I would give you the link.
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#3 |
|
Programming Guru
![]() ![]() |
well, i suggest looking at the mysql documentation. It holds the answer you seek.
I doubt there is a public accessible db with the information in it that you are seeking, you'll have to create your own.
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
|
|
#4 |
|
Programming Guru
![]() ![]() ![]() |
A long time ago, I had a need for such a DB... I ended up writing a spider for usps.gov and pulled the zip codes along with their cities/states... not sure how their site is formatted now though... and I no longer have that particular DB.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#5 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|