-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
I am trying to import the zipcodes data into the redis instance as specified on the ReadMe.
Using the command ./geodis -z -f data/zipcodes.csv -p 6369. All imports failed with a similar error to the one listed below. I have had no problem importing the cities.json file however.
KeyError: 'alaska'
2018-10-17 19:13:01,291 ERROR in zipcodes.runImport (zipcodes.py:129): Could not import line #43191: Ketchikan, {'lat': 61.385, 'code': 'AK', 'lon': -152.2683, 'name': 'Alaska'}: 'alaska'
Traceback (most recent call last):
File "/home/u1604342/.local/lib/python2.7/site-packages/geodis/provider/zipcodes.py", line 108, in runImport
stateId = features[stateName.lower()]['id']
Metadata
Metadata
Assignees
Labels
No labels