mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
[processing][gdal] Don't default to placing each input file in a separate
band in build vrt algorithm Creating a multi-band vrt is much less common vs creating a mosaic style vrt, so set the default to the most common use case and most predictable outcome.
This commit is contained in:
parent
83ccb6554e
commit
b89d7fd088
@ -109,9 +109,15 @@ class buildvrt(GdalAlgorithm):
|
||||
self.tr('Resolution'),
|
||||
options=[i[0] for i in self.RESOLUTION_OPTIONS],
|
||||
defaultValue=0))
|
||||
self.addParameter(QgsProcessingParameterBoolean(self.SEPARATE,
|
||||
|
||||
separate_param = QgsProcessingParameterBoolean(self.SEPARATE,
|
||||
self.tr('Place each input file into a separate band'),
|
||||
defaultValue=True))
|
||||
defaultValue=True)
|
||||
# default to not using separate bands is a friendlier option, but we can't change the parameter's actual
|
||||
# defaultValue without breaking API!
|
||||
separate_param.setGuiDefaultValueOverride(False)
|
||||
self.addParameter(separate_param)
|
||||
|
||||
self.addParameter(QgsProcessingParameterBoolean(self.PROJ_DIFFERENCE,
|
||||
self.tr('Allow projection difference'),
|
||||
defaultValue=False))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user