coderholic / django-cities

Countries and cities of the world for Django projects
MIT License
927 stars 372 forks source link

import_regions problem with data url #7

Closed lacion closed 13 years ago

lacion commented 13 years ago

http://download.geonames.org/export/dump/admin1Codes.txt is no longer available as it been removed due to all the encoding error it had. now everything is available in http://download.geonames.org/export/dump/admin1CodesASCII.txt.

changing line 79 of update_cities_geodata.py with the new url made the import proccess work.

thought midway it has encoding problems that i'm still trying to figure out.