etalab / geozones

Simple spatial/administrative referential
44 stars 10 forks source link

Failsafe preload in case of data is already loaded #34

Closed noirbizarre closed 7 years ago

noirbizarre commented 7 years ago

This PR ensure preload doesn't fail when executed twice without the --drop parameter (in case you run geozones full. A proper logging of errors is added. Enumeration when iterating over CSV lines has been removed (the counter was not in use)