Skip to content

Vector upload for gpkg data bug #327

@Momen-Mawad

Description

@Momen-Mawad

When uploading a vector data to actinia using the following command:

curl -L -u "XX:XX" -X POST -H "Content-Type: multipart/form-data" -F "[email protected]" https://actinia-dev.mundialis.de/api/v3/locations/latlong_wgs84/mapsets/test_mapset/vector_layers/testvector

I received an error by v.import:

"stderr": [
"ERROR: Unable to open data source </actinia_core/workspace/download_cache/momen/NRW_4ae15f5f-3505-4a1a-bfc6-3c1a8705bf75.gpkg>",
"ERROR: Unable to open data source </actinia_core/workspace/download_cache/momen/NRW_4ae15f5f-3505-4a1a-bfc6-3c1a8705bf75.gpkg>",
"ERROR: Unable to create location from OGR datasource </actinia_core/workspace/download_cache/momen/NRW_4ae15f5f-3505-4a1a-bfc6-3c1a8705bf75.gpkg>",
""

This command seems to work fine with geojson and zipped shapefile.

Attached the example NRW.gpkg

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions