开发者

Is there a python module, which can turn geocoordinates into the name of the corresponding city?

开发者 https://www.devze.com 2023-03-18 18:37 出处:网络
I have a bunch of coordinates and I want to transform them to human readable addresses. Is there a way to achi开发者_如何学Ceve this? It would be great if i can get the name of the city where the coor

I have a bunch of coordinates and I want to transform them to human readable addresses. Is there a way to achi开发者_如何学Ceve this? It would be great if i can get the name of the city where the coordinates are located in.


Use the Google Maps Reverse Geocoding API.


If you can do with political units instead of street addresses I would suggest Pete Warden's Data Science Toolkit: http://www.datasciencetoolkit.org/developerdocs#coordinates2politics

With Google Maps API, you are limited to 2500 requests per day. Warden's toolkit is open source and you can run your own server. The caveat is this: "This API relies on data gathered by volunteers around the world for OpenHeatMap, along with US census information and neighborhood maps from Zillow."

0

精彩评论

暂无评论...
验证码 换一张
取 消