Skip to content

Commit

Permalink
[processing] add missed parameter to warp algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jan 29, 2018
1 parent 8564422 commit c10438e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/gdal/warp.py
Expand Up @@ -110,6 +110,7 @@ def initAlgorithm(self, config=None):
self.tr('Resampling method to use'),
options=[i[0] for i in self.methods],
defaultValue=0))

dataType_param = QgsProcessingParameterEnum(self.DATA_TYPE,
self.tr('Output data type'),
self.TYPES,
Expand All @@ -127,6 +128,8 @@ def initAlgorithm(self, config=None):
target_extent_crs_param = QgsProcessingParameterCrs(self.TARGET_EXTENT_CRS,
self.tr('CRS of the target raster extent'),
optional=True)
target_extent_crs_param.setFlags(target_extent_crs_param.flags() | QgsProcessingParameterDefinition.FlagAdvanced)
self.addParameter(target_extent_crs_param)

multithreading_param = QgsProcessingParameterBoolean(self.MULTITHREADING,
self.tr('Use multithreaded warping implementation'),
Expand Down

0 comments on commit c10438e

Please sign in to comment.