Skip to content

Commit f01b2f0

Browse files
committed
[processing] extent is mandatory parameter for interpolation algorithms
1 parent ce88da6 commit f01b2f0

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎python/plugins/processing/algs/qgis/IdwInterpolation.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ def dataToString(data):
134134
self.tr('Cell Size Y'),
135135
0.0, 999999.000000, 0.0))
136136
self.addParameter(ParameterExtent(self.EXTENT,
137-
self.tr('Extent')))
137+
self.tr('Extent'),
138+
optional=False))
138139
self.addOutput(OutputRaster(self.OUTPUT_LAYER,
139140
self.tr('Interpolated')))
140141

‎python/plugins/processing/algs/qgis/TinInterpolation.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ def dataToString(data):
143143
self.tr('Cell size Y'),
144144
0.0, 999999.000000, 0.0))
145145
self.addParameter(ParameterExtent(self.EXTENT,
146-
self.tr('Extent')))
146+
self.tr('Extent'),
147+
optional=False))
147148
self.addOutput(OutputRaster(self.OUTPUT_LAYER,
148149
self.tr('Interpolated')))
149150
self.addOutput(OutputVector(self.TRIANULATION_FILE,

0 commit comments

Comments
 (0)