Jump to content


Photo

List of all countries, states and its cities


  • Please log in to reply
2 replies to this topic

#1 fiddy

fiddy
  • Members
  • PipPipPip
  • Advanced Member
  • 75 posts

Posted 30 October 2006 - 11:37 AM

Hi Friends,

I am in need of the list of all the countries, states and its cities. I am looking for one which is a mysql table. Kindly help me if you have it or guide me to a URL where i can download it for free.

Thanks
:)

#2 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 30 October 2006 - 11:41 AM

not really the right place for this thread, but still:
http://www.maxmind.com/app/geolitecity

that should do you. tis pretty huge and takes a chunky amount of time to get it into a DB, but by far the best (and free) one i've found so far.

as for the states, i needed another file for this, but i dont have the link. do a google search for 'FIPS' and you should be able to dig up something, then use mysql to perform LEFT JOINS to match the cities to their respective county/state.
edit: the FIPS info is on the same site as the link i gave you.

cheers
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#3 fiddy

fiddy
  • Members
  • PipPipPip
  • Advanced Member
  • 75 posts

Posted 30 October 2006 - 11:49 AM

Hi Friend,

Thanks a lot.
:)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users