Districts/Sublocalities: List of, or how to get using Google API

…衆ロ難τιáo~ 提交于 2019-12-01 06:33:48

问题


I am desperately trying to find a list/database of districts or sublocalities for all cities of the world.

I use the list of all cities of the world from maxmind.com, however, they do not provide sublocalities or districts (like e.g. "Manhattan", "Brooklyn", ... in New York).

Does anybody know if there exists a solution out there somewhere? Or is there a posibility to get all sublocalities using Google Maps API? (As I have 2.7mio cities with LatLng values in the database).

Thank you very much in advance for any hint!


回答1:


Bulk downloads of Google data are forbidden by the Terms of Service.

Geonames is probably your best bet, although neighbourhoods are only available directly for US cities: http://www.geonames.org/export/web-services.html#neighbourhood

Children of existing Geonames objects are available, but that doesn't appear to include children of cities.



来源:https://stackoverflow.com/questions/10213019/districts-sublocalities-list-of-or-how-to-get-using-google-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!