qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.59k stars 3k forks source link

Use global GDAL create options in Georeferencer output settings, instead of it's own setting #46649

Open hareldunn opened 2 years ago

hareldunn commented 2 years ago

Feature description

Currently, the output settings of the georeferencer had it's own compression option with a prefilled combo-box of options: LZW, Packbits, and Deflate image

These options are pretty basic, and do not allow the use of better and faster compression methods supported by GDAL, or the setting of other create options (-co) such as predictor, zlevels etc, etc,.

QGIS supports the creation of predefined GDAL options, including compression, in the GDAL properties image

My feature request is basically to have the Georeferencer tool use the global QGIS create option settings, like all other raster export tools allow. This will greatly enhance the Georeferencer usability as it has to create new raster layers when run.

Additional context

No response

hareldunn commented 2 years ago

Will simply adding mListCompression.append( QStringLiteral( "ZSTD" ) ); to qgstransformsettingsdialog.cpp be enough? Looks like it's basically making a list which then passed in the main dialogue as a GDAL create option.