Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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) #12725

Open
ffischer1984 opened this issue Nov 19, 2024 · 0 comments

Comments

@ffischer1984
Copy link

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

@ffischer1984 ffischer1984 changed the title export dataset as GeoPackage has case-sensitive Geometry-Types which can't be read from the GeoNode 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) Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant