Open mwallschlaeger opened 8 months ago
I can second this. The not so desirable work around is uploading your csv as a ZIP. The file is then imported as a usual geospatial csv.
hey @mkrueger-dev, 52North (@ridoo ) will continue to work on the imoprter-datapackage soon. So if you run into other issues please use this repository to notify us about it.
@mwallschlaeger @mkrueger-dev The datapackage handler should not handle plain csv-files per se. The import handler is used only if
zip
filezip
file contains a file which is named datapackage.json
See here:
Could you make sure that this happens only, when the datapackage handler is active? You could comment out the handler in the settings.py
.
With the handler commented out in the settings.py
the geo csv upload works as usual.
However, with the handler active I am only able to upload the geo csv as a zip (without the datapackage.json
inside the zip).
Seems, the crux lays somewhere in here:
The requires
and needsFiles
config seems to mix overlapping config. Will have to investigate further.
TODO: check if problem is similar when upload is done via API
when trying to upload a csv containing geoinformation (usually handled by the default geonode-importer i now when uploading the file. see:![image](https://github.com/GeoNodeUserGroup-DE/importer-datapackage/assets/17499481/4105f501-7828-4e05-966a-1da8054b69ed)