Skip to content

Commit

Permalink
[processing] extent is mandatory parameter for interpolation algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jan 13, 2017
1 parent ce88da6 commit f01b2f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python/plugins/processing/algs/qgis/IdwInterpolation.py
Expand Up @@ -134,7 +134,8 @@ def dataToString(data):
self.tr('Cell Size Y'),
0.0, 999999.000000, 0.0))
self.addParameter(ParameterExtent(self.EXTENT,
self.tr('Extent')))
self.tr('Extent'),
optional=False))
self.addOutput(OutputRaster(self.OUTPUT_LAYER,
self.tr('Interpolated')))

Expand Down
3 changes: 2 additions & 1 deletion python/plugins/processing/algs/qgis/TinInterpolation.py
Expand Up @@ -143,7 +143,8 @@ def dataToString(data):
self.tr('Cell size Y'),
0.0, 999999.000000, 0.0))
self.addParameter(ParameterExtent(self.EXTENT,
self.tr('Extent')))
self.tr('Extent'),
optional=False))
self.addOutput(OutputRaster(self.OUTPUT_LAYER,
self.tr('Interpolated')))
self.addOutput(OutputVector(self.TRIANULATION_FILE,
Expand Down

0 comments on commit f01b2f0

Please sign in to comment.