developmentseed / landsat-util

A utility to search, download and process Landsat 8 satellite imagery
Creative Commons Zero v1.0 Universal
690 stars 147 forks source link

GEOCODER needs API-KEY? #242

Open jmellian opened 7 years ago

jmellian commented 7 years ago

The unit-test voor geocode fails. Nothing changed here. See stack trace below. Probable because the API-KEY has expired? Anyone has on idea?

============================= Traceback (most recent call last): File "/home/travis/build/developmentseed/landsat-util/tests/test_utils.py", line 109, in test_geocode loc = utils.geocode('1600 Pennsylvania Ave NW, Washington, DC 20500') File "/home/travis/build/developmentseed/landsat-util/landsat/utils.py", line 328, in geocode geocoded = geocoder.google(address) File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/geocoder/api.py", line 195, in google return get(location, provider='google', kwargs) File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/geocoder/api.py", line 161, in get return options[provider][method](location, kwargs) File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/geocoder/base.py", line 708, in init provider_key = self._get_api_key(kwargs.pop('key', None)) File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/geocoder/base.py", line 687, in _get_api_key raise ValueError('Provide API Key') ValueError: Provide API Key