Skip to content
Permalink
Browse files

run gdal_calc on Windows and gdal_calc.py on othes platforms (fixes #…

  • Loading branch information
jef-n committed Sep 17, 2018
1 parent 8aded86 commit 239e93deeba4c73b18cfbace263b9f1577cbeeb3
Showing with 1,117 additions and 1,095 deletions.
  1. +1 −1 python/plugins/processing/algs/gdal/gdalcalc.py
  2. +1,116 −1,094 python/plugins/processing/tests/GdalAlgorithmsTest.py
@@ -176,7 +176,7 @@ def groupId(self):
return 'rastermiscellaneous'

def commandName(self):
return 'gdal_calc'
return 'gdal_calc' if isWindows() else 'gdal_calc.py'

def getConsoleCommands(self, parameters, context, feedback, executing=True):
out = self.parameterAsOutputLayer(parameters, self.OUTPUT, context)

0 comments on commit 239e93d

Please sign in to comment.
You can’t perform that action at this time.