Get latitude and longitude based on city, zip or streetname

后端 未结 4 2135
悲&欢浪女
悲&欢浪女 2020-12-30 17:12

In my current android application, I would like to get the geocordinates based on an entered city name, street name or zip code. How can I accomplish this?

Best Rega

4条回答
  •  感情败类
    2020-12-30 17:47

    Hi,

    There's a very nice site called the World Gazetteer that has the data you need, in a neat, downloadable file (by city name)

    http://www.world-gazetteer.com/home.htm

    From the main page, click on the link that says:

    other statistics.....various statistics: tables, maps and downloadable data

    and from the page that comes up, click on the link that says:

    popdata (1.4 MB)

    Unzip the file, and you got it!

    The database is free master database of world cities which includes latitude, longitude, and population data...etc.

    Got this from: http://answers.google.com/answers/threadview?id=432778

提交回复
热议问题