我有一个困难的体系结构和网络问题。我正在尝试为http://www.comehike.com制作有关世界上每个城市远足的页面
我必须以某种方式导入世界上所有的城市,并按州(由国家来构造)来构造它们。
我已经有了一个手动添加到数据库中的国家/地区列表,然后又添加了加利福尼亚的所有城市(如果考虑小的地方,则有300多个城市),并且意识到我无法手动完成此操作世界上所有城市的准确性。
有没有办法以自动化的方式做到这一点?我从哪里获得可靠的数据?理想情况下,我也要提供他们的经纬度。
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