相关疑难解决方法(0)

如何将世界上所有国家/城市/州都放入我的数据库?

我有一个困难的体系结构和网络问题。我正在尝试为http://www.comehike.com制作有关世界上每个城市远足的页面

我必须以某种方式导入世界上所有的城市,并按州(由国家来构造)来构造它们。

我已经有了一个手动添加到数据库中的国家/地区列表,然后又添加了加利福尼亚的所有城市(如果考虑小的地方,则有300多个城市),并且意识到我无法手动完成此操作世界上所有城市的准确性。

有没有办法以自动化的方式做到这一点?我从哪里获得可靠的数据?理想情况下,我也要提供他们的经纬度。

database architecture gis geolocation

5
推荐指数
1
解决办法
5647
查看次数

Get states of a country when a country is selected

I have a code where it shows all countries and we can select a specific country from it. What i want now is when i select a country i want to see the list of states in that country. Can any one please help me in that ? Is there a method or API for it? Any help is appreciated. thanks

iphone ios4 ios ios5 ios6

3
推荐指数
1
解决办法
1102
查看次数

标签 统计

architecture ×1

database ×1

geolocation ×1

gis ×1

ios ×1

ios4 ×1

ios5 ×1

ios6 ×1

iphone ×1