Feature request #17926

Append raster layer to an existing Geopackage with a checkbox and layer name QLineEdit.

Added by Borys Jurgiel about 6 years ago. Updated over 5 years ago.

Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:25822


With the new raster save to various formats (https://github.com/qgis/QGIS/pull/5430), it's now possible to save it to GeoPackage.
However, the default mode overwrites existing Geopackages, thus APPEND_SUBDATASET creation option has to be set explicitly. Also RASTER_TABLE must be set, otherwise the table name will match the geopackage file (what doesn't make any sense when appending a new table).

It would be great to have a checkbox to append the db instead of overwriting. Alternatively, the APPEND_SUBDATASET may be set to YES in the default profile.

In both cases an input line for the table name is necessary.

Related issues

Related to QGIS Application - Bug report #20848: Issue exporting raster layer to Geopackage Closed 2018-12-19

Associated revisions

Revision 60fa8eae
Added by Borys Jurgiel over 5 years ago

[FEATURE] Append raster layer to an existing Geopackage in the 'Save Raster Layer As' dialog. Fixes #17926


#1 Updated by Borys Jurgiel over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#2 Updated by Alessandro Pasotti almost 5 years ago

Also available in: Atom PDF