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

Add support to export to/convert to .gpkg.zip files #59959

Open
theroggy opened this issue Dec 18, 2024 · 0 comments
Open

Add support to export to/convert to .gpkg.zip files #59959

theroggy opened this issue Dec 18, 2024 · 0 comments

Comments

@theroggy
Copy link

theroggy commented Dec 18, 2024

Feature description

Since GDAL 3.7, support to read and write (not update) .gpkg.zip files was added, using the performance-optimized sozip compression profile:
https://gdal.org/en/stable/drivers/vector/gpkg.html#compressed-files

It doesn't seem possible though to export or convert a file to .gpkg.zip from QGIS though:

  • When rightclick/"export"/"save features as..." is used on a layer and "Geopackage is choosen as output, it is not possible to choose .gpkg.zip as extension. If you change the filename to remove the extra .gpkg that is added, this results in an error and no it is still an unzippend .gpkg that is written:
    image
  • In the "processing toolbox", there is a tool called "GDAL"/"Vector Conversion"/"Convert format", but also there it seems impossible to convert a file to .gpkg.zip.

Opening a .gpkg.zip file does work, though it would be cleaner if .gpkg.zip would also be listed under the "Geopackage" file extensions besides the currently listed ".gpkg and .GPKG".
image

Additional context

Tested in QGIS 3.34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant