Is there a python module, which can turn geocoordinates into the name of the corresponding city?
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."
精彩评论