Is there a free / paid location service?

I need to create two drop-down lists for the application. One shows all the countries of the world, and the other is filled with all the cities of the selected country in the first drop-down list. Is there a web service or database providing such information?

+6
source share
4 answers

Desmond

You can get a list of all countries and all cities in each country from the free database from MaxMind.com, which is only 33 MB.

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

Andrew Part of the OpenGeoCode.Org Team

+1
source

Given that you yourself have found the answer to your question, I will give an answer for what you ask in the comment:

Perhaps Boxer Text Editor will do the trick:

Large file capacity

  • edit files up to 2 GB
  • no theoretical limit on the number of open files
  • line length up to 32 thousand characters
  • total editing capacity limited only by virtual memory operating system
+1
source

Geonames has several webservices that basically give you programmatic access to this 800 meter dB.

0
source

I used the one that was at http://www.zuzemo.com. It has almost everything you need, countries, regions and cities.

0
source

Source: https://habr.com/ru/post/885850/


All Articles