1 change: 1 addition & 0 deletions python/plugins/processing/admintools/ImportIntoPostGIS.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def defineCharacteristics(self):
self.group = "PostGIS management tools"
self.addParameter(ParameterVector(self.INPUT, "Layer to import"))
self.addParameter(ParameterString(self.DATABASE, "Database (connection name)"))
self.addParameter(ParameterString(self.SCHEMA, "Schema (schema name)"))
self.addParameter(ParameterString(self.TABLENAME, "Table to import to"))
self.addParameter(ParameterBoolean(self.OVERWRITE, "Overwrite", True))
self.addParameter(ParameterBoolean(self.CREATEINDEX, "Create spatial index", True))
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/grass/GrassAlgorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def processAlgorithm(self, progress):

if isinstance(out, OutputVector):
filename = out.value
command = "v.out.ogr -e input=" + out.name + uniqueSufix
command = "v.out.ogr -c -e input=" + out.name + uniqueSufix
command += " dsn=\"" + os.path.dirname(out.value) + "\""
command += " format=ESRI_Shapefile"
command += " olayer=" + os.path.basename(out.value)[:-4]
Expand Down
12 changes: 8 additions & 4 deletions python/plugins/processing/saga/ext/supervisedclassification.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@
__revision__ = '$Format:%H$'

from processing.tests.TestData import table
from processing.core.ProcessingConfig import ProcessingConfig
from processing.saga.SagaUtils import SagaUtils

def editCommands(commands):
commands[-3] = commands[-3] + " -STATS " + table()
return commands


saga208 = ProcessingConfig.getSetting(SagaUtils.SAGA_208)
if not saga208:
commands[-3] = commands[-3] + " -STATS " + table()
return commands
else:
return commands