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):
194
194
)
195
195
196
196
if cellsize == 0 :
197
- cellsize = 1
197
+ cellsize = 100
198
198
return cellsize
199
199
200
200
def processAlgorithm (self , progress ):
@@ -359,18 +359,19 @@ def processAlgorithm(self, progress):
359
359
outputCommands .append ('g.region raster=' + out .name
360
360
+ uniqueSufix )
361
361
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"'
363
363
command += ' input='
364
364
command += out .name + uniqueSufix
365
365
command += ' output="' + filename + '"'
366
- commands .append (command )
367
- outputCommands .append (command )
368
366
else :
369
367
command = 'r.out.gdal -c createopt="TFW=YES,COMPRESS=LZW"'
370
368
command += ' input='
371
369
372
370
if self .grassName == 'r.horizon' :
373
371
command += out .name + uniqueSufix + '_0'
372
+ elif self .grassName == 'r.composite' :
373
+ commands .append (command )
374
+ outputCommands .append (command )
374
375
else :
375
376
command += out .name + uniqueSufix
376
377
command += ' output="' + filename + '"'
You can’t perform that action at this time.
0 commit comments