geonode icon indicating copy to clipboard operation
geonode copied to clipboard

From the GeoNode exported datasets as GeoPackage has case-sensitive Geometry-Types which can't be read from the GeoNode (e.g MultiPolygon instead of MULTIPOLYGON)

Open ffischer1984 opened this issue 1 year ago • 0 comments

Expected Behavior

When I'm exporting a Dataset in the GeoPackage-Format I'll expect that I can import the exact same GeoPackage-File into a GeoNode-Instance, again.

Actual Behavior

When I'm trying to import an exported GeoPackage-File from a geonode-instance I'll get this error-message:

""Found geometry_type_name: MultiPolygon for table nz_primary_parcels_9748d5b75426d9bbcb35b64365387811 (from the gpkg_geometry_columns table).. Error layer: nz_primary_parcels_9748d5b75426d9bbcb35b64365387811, found geometry: MULTIPOLYGON that should be MultiPolygon, 832 times, example id: 1. GPKG: unrecognized user_version=0x00000000 (0) on '/mnt/volumes/statics/assets_data/20241119110606skdh8uub/result (2).gpkg'. Request: 7eac5ac3-3da4-4bb4-9805-e6e88fab7e20"

image

Steps to Reproduce the Problem

lds-nz-primary-parcels-GPKG.zip

  1. Upload the attached geopackage-file
  2. Open this file in the geonode
  3. Click at Downloading
  4. In the Dialog-Form: choose File Format: GeoPackage
  5. Download the File
  6. try to upload this file to the geonode, again

Specifications

  • GeoNode version: https://development.demo.geonode.org/ , https://stable.demo.geonode.org/
  • Installation type (vanilla, geonode-project): ??
  • Installation method (manual, docker): ??
  • Platform: ??
  • Additional details: used the two demo-instances from geosolutions.

ffischer1984 avatar Nov 19 '24 12:11 ffischer1984