Skip to content

Commit

Permalink
[sextante] R algorithms now use raster package by default
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Mar 10, 2013
1 parent da40d3d commit 5872d49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions python/plugins/sextante/r/RAlgorithm.py
Expand Up @@ -91,7 +91,7 @@ def defineCharacteristicsFromFile(self):
self.commands=[]
self.showPlots = False
self.showConsoleOutput = False
self.useRasterPackage = False
self.useRasterPackage = True
self.passFileNames = False
self.verboseCommands = []
filename = os.path.basename(self.descriptionFile)
Expand Down Expand Up @@ -136,8 +136,8 @@ def processParameterLine(self,line):
self.showPlots = True
self.addOutput(OutputHTML(RAlgorithm.RPLOTS, "R Plots"));
return
if line.lower().strip().startswith("userasterpackage"):
self.useRasterPackage = True
if line.lower().strip().startswith("usereadgdal"):
self.useRasterPackage = False
return
if line.lower().strip().startswith("passfilenames"):
self.passFileNames = True
Expand Down
@@ -1,4 +1,3 @@
##userasterpackage
##[Example scripts]=group
##Layer = raster
##no_data_value = number 0
Expand Down

0 comments on commit 5872d49

Please sign in to comment.