Skip to content
Permalink
Browse files

[processing] add missed parameter to warp algorithm

  • Loading branch information
alexbruy committed Jan 29, 2018
1 parent 8564422 commit c10438e68a238525303c6199ba66d0627c8d5480
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/algs/gdal/warp.py
@@ -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,
@@ -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'),

0 comments on commit c10438e

Please sign in to comment.
You can’t perform that action at this time.