Remove call of mod_spatialite
Currently, these few lines:
database = db.connect(os.path.join(tmp, 'tmp%s.sqlite' % (layerout)))
database.enable_load_extension(True)
database.load_extension("mod_spatialite")
raise an exception related to libiconv (#320 (closed) ).
After large investigations about upgrade versions and conda manipulation.
The temporary solution proposed is the following:
- remove the use of mod_spatialite (2 functions impacted)
- replace this call by using geopandas or fiona
Once conda issues (#321) will be solved, the use of mod_spatialite could be reauthorised.
Work to do:
-
Do_copy function in DataAugmentation module -
get_regions_areas in splitSamples (for huge models only)
These functions are rarely used, this should not interfere with the standard operation of the chain.
Edited by Tardy Benjamin