[processing] extent is mandatory parameter for interpolation algorithms

This commit is contained in:
Alexander Bruy 2017-01-13 15:30:59 +02:00
parent ce88da6eb9
commit f01b2f0597
2 changed files with 4 additions and 2 deletions

View File

@ -134,7 +134,8 @@ class IdwInterpolation(GeoAlgorithm):
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')))

View File

@ -143,7 +143,8 @@ class TinInterpolation(GeoAlgorithm):
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,