File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
python/plugins/processing/algs/grass7 Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ def getDefaultCellsize(self):
194194 )
195195
196196 if cellsize == 0 :
197- cellsize = 1
197+ cellsize = 100
198198 return cellsize
199199
200200 def processAlgorithm (self , progress ):
@@ -359,18 +359,19 @@ def processAlgorithm(self, progress):
359359 outputCommands .append ('g.region raster=' + out .name
360360 + uniqueSufix )
361361 if self .grassName == 'r.composite' :
362- command = 'r.out.tiff -t --verbose' # FIXME r.out.tiff deprecated, use r.out.gdal
362+ command = 'r.out.gdal -c createopt="TFW=YES,COMPRESS=LZW"'
363363 command += ' input='
364364 command += out .name + uniqueSufix
365365 command += ' output="' + filename + '"'
366- commands .append (command )
367- outputCommands .append (command )
368366 else :
369367 command = 'r.out.gdal -c createopt="TFW=YES,COMPRESS=LZW"'
370368 command += ' input='
371369
372370 if self .grassName == 'r.horizon' :
373371 command += out .name + uniqueSufix + '_0'
372+ elif self .grassName == 'r.composite' :
373+ commands .append (command )
374+ outputCommands .append (command )
374375 else :
375376 command += out .name + uniqueSufix
376377 command += ' output="' + filename + '"'
You can’t perform that action at this time.
0 commit comments