etalab / geozones

Simple spatial/administrative referential
44 stars 10 forks source link

changes in reference files cause bugs during postprocess #29

Open ChrisBarriere opened 7 years ago

ChrisBarriere commented 7 years ago

1. Problem during the postprocess process_postal_codes:

the csv file http://datanova.legroupe.laposte.fr/explore/dataset/laposte_hexasmal/download/?format=csv&timezone=Europe/Berlin&use_labels_for_header=true is now with six columns. So in france.py line 283, change: for insee, _, postal, _, _ in reader: to: for insee, _, postal, _, _, _ in reader:

2. Problem during the postprocess process_insee_cog:

With the new INSEE website, the url of the zip file for the COG has changed. So in france.py line 336, change: @town.postprocessor('http://www.insee.fr/fr/methodes/nomenclatures/cog/telechargement/2016/txt/comsimp2016.zip') to: @town.postprocessor('https://www.insee.fr/fr/statistiques/fichier/2114819/comsimp2016-txt.zip')

davidbgk commented 7 years ago

@ChrisBarriere thanks a lot for reporting issues, it should be fixed on the branch related to this pull-request: https://github.com/etalab/geozones/pull/22 which is much more up-to-date and hopefully merged soon!