New version of geopy
If you need to map addresses to lat/lon coordinates, you’ll be interested to know that geopy 0.93 has been released:
Geopy is a geocoding toolbox for Python. It includes support for many popular geocoders including Google Maps, Yahoo! Maps, Virtual Earth, geocoder.us, GeoNames, MediaWiki (with the GIS extension), and Semantic MediaWiki. It also includes a module for calculating geodesic distances using different models (spherical and ellipsoidal).
The geopy website has a lot of examples to get you started. And there’s more info about the release on Brian’s blog.
Update: The Cheese Shop version appears to be for Python 2.4 only, so I don’t think you can use easy_install to install it if you are running Python 2.5.
Update 2: According to Brian’s comment below, there’s a geopy version for Python 2.5 now. So I would assume that easy_install will work just fine.
October 10th, 2006 at 8:26 pm
There’s a Python 2.5 version on there now. :)
geopy is pure-Python, which is an option I could select on the Cheese Shop, but then again it’s not independent of Python version either because I use decorators and generator comprehensions… so I’m not sure if I should select that option.