djangosnippets.org: Latest snippets posted by whardemanhttps://djangosnippets.org/users/whardeman/2010-10-25T12:18:51.392771-05:00whardemanRetrieve Latitude & Longitude for an Address from Google Geocoder V3
2010-10-25T12:18:51.392771-05:00whardemanhttps://djangosnippets.org/snippets/2241/<p>Very simple python class for querying Google Geocoder. Accepts a human-readable address, parses JSON results and sets lat and lng. (Full JSON results are stored to <code>results</code> property of GoogleLatLng for access to other attributes.)</p>
<p>This could easily be expanded to include the XML output option, etc.</p>
<p><strong>Requires PycURL and …</strong></p>
Freely redistributable