Skip to content
Permalink
Browse files

[processing] fix wrong parameter definition (fix #16063)

  • Loading branch information
alexbruy committed Jan 11, 2017
1 parent 80d0d05 commit 6214d4d4462c4e608a93b713f3fe9d81e12e907b
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/algs/gdal/gdal2tiles.py
@@ -74,10 +74,10 @@ def defineCharacteristics(self):
params = []
params.append(ParameterSelection(self.PROFILE,
self.tr('Tile cutting profile'),
self.PROFILES, 0, False, True))
self.PROFILES, 0, False, optional=True))
params.append(ParameterSelection(self.RESAMPLING,
self.tr('Resampling method'),
self.RESAMPLINGS, 0, False, True))
self.RESAMPLINGS, 0, False, optional=True))
params.append(ParameterCrs(self.S_SRS,
self.tr('The spatial reference system used for the source input data'),
None, True))
@@ -101,7 +101,7 @@ def defineCharacteristics(self):
None, False, True))
params.append(ParameterSelection(self.WEBVIEWER,
self.tr('Web viewer to generate'),
self.WEBVIEWERS, 0, False, True))
self.WEBVIEWERS, 0, False, optional=True))
params.append(ParameterString(self.TITLE,
self.tr('Title of the map'),
None, False, True))

0 comments on commit 6214d4d

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