Skip to content

Commit c10438e

Browse files
committed
[processing] add missed parameter to warp algorithm
1 parent 8564422 commit c10438e

File tree

1 file changed

+3
-0
lines changed
  • python/plugins/processing/algs/gdal

1 file changed

+3
-0
lines changed

python/plugins/processing/algs/gdal/warp.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ def initAlgorithm(self, config=None):
110110
self.tr('Resampling method to use'),
111111
options=[i[0] for i in self.methods],
112112
defaultValue=0))
113+
113114
dataType_param = QgsProcessingParameterEnum(self.DATA_TYPE,
114115
self.tr('Output data type'),
115116
self.TYPES,
@@ -127,6 +128,8 @@ def initAlgorithm(self, config=None):
127128
target_extent_crs_param = QgsProcessingParameterCrs(self.TARGET_EXTENT_CRS,
128129
self.tr('CRS of the target raster extent'),
129130
optional=True)
131+
target_extent_crs_param.setFlags(target_extent_crs_param.flags() | QgsProcessingParameterDefinition.FlagAdvanced)
132+
self.addParameter(target_extent_crs_param)
130133

131134
multithreading_param = QgsProcessingParameterBoolean(self.MULTITHREADING,
132135
self.tr('Use multithreaded warping implementation'),

0 commit comments

Comments
 (0)