gboeing / 2014-summer-travels

Python-based spatial data analysis and visualization of the GPS location data from my 2014 summer travels.
http://geoffboeing.com/2014/08/visualizing-summer-travels/
100 stars 93 forks source link

geolocation/2014 summer travel. #3

Open petersamoaa opened 5 years ago

petersamoaa commented 5 years ago

When I run your function reverse_geocode to get the geocode_data from latlng as df['geocode_data'] = df['latlng'].map(reverse_geocode) all the results of geocode_data are emplty, which mean that there is no returned object.

gboeing commented 5 years ago

The Google Maps API changed in recent years and you need to pass an API key now: https://developers.google.com/maps/documentation/geocoding/get-api-key