Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Sep 2010
    Posts
    460
    Thanks
    214
    Thanked 1 Time in 1 Post

    Where can I purchase database list of countries

    Hi,

    For my website I need to enter a list of countries, counties, towns / cities in a database. I have started entering them manually myself but this is incredibly time consuming. I assume I could buy this from somewhere, I have tried looking on google, I'm not sure if I am entering the wrong search terms or I just don't know where to look. But if anyone can point me in the right direction I would appreciate it.

  • #2
    New Coder
    Join Date
    Oct 2011
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Here's a free list in a PHP array:

    http://www.ustrem.org/en/articles/ar...-countries-en/

    Haven't checked to see if all the countries are there, but it looks like they're all there!

  • #3
    Regular Coder
    Join Date
    Sep 2010
    Posts
    460
    Thanks
    214
    Thanked 1 Time in 1 Post
    Thanks for the reply Erve, unfortunately I have the list of countries, it is the counties / regions, towns / villages which is the really time consuming part and that I am sure must be available to buy somewhere.

  • #4
    New Coder
    Join Date
    Oct 2011
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Ah, sorry. Missed that bit!

  • #5
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Why do you need this database? Requiring every town and city in the entire world seems to be an infeasible condition, considering the world is constantly growing. How would you use this?

  • #6
    Regular Coder
    Join Date
    Sep 2010
    Posts
    460
    Thanks
    214
    Thanked 1 Time in 1 Post
    It is for a travel site. It doesn't need to be every village and town, but countries do need to be broken down in regions and then key tourist places to visit.

  • #7
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,835
    Thanks
    42
    Thanked 199 Times in 198 Posts
    I am guessing that if it is available for purchase it is probably out of price range since I presume google has spent (most likely) over a few million to map the entire world.

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #8
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,957
    Thanks
    9
    Thanked 727 Times in 721 Posts
    The open source e-Commerce system Opencart comes with a list of countries and zones already set up - you could probably extract what you need from that. Zones equate to UK counties, US states etc - about 4k of these in total. It doesn't go below zones to cities however.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •