Joe James
unread,Apr 2, 2011, 7:46:16 PM4/2/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to geopy
I'm using geopy with the google api to do something like this:
g = geocoders.Google(GOOGLE_MAPS_KEY)
place, (lat, lng) = g.geocode(address)
but .... places is not normalized and could be different every time
depending upon the original address entered. How do I go about
getting back just the city and state from: g.geocode(address)?
I know Google returns a lot of data back with their maps api, so I am
sure it is being returned, but i'm just not sure how to get it with
geopy.
Thanks for your help