Skip to content

Commit

Permalink
fix Processing ogr2ogr convert format tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Manghi committed Jan 21, 2015
1 parent ecb93b1 commit 2db2c5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/algs/gdal/ogr2ogr.py
Expand Up @@ -114,7 +114,7 @@ def defineCharacteristics(self):

def processAlgorithm(self, progress):
inLayer = self.getParameterValue(self.INPUT_LAYER)
ogrLayer = self.ogrConnectionString(inLayer)
ogrLayer = self.ogrConnectionString(inLayer)[1:-1]

output = self.getOutputFromName(self.OUTPUT_LAYER)
outFile = output.value
Expand All @@ -140,6 +140,7 @@ def processAlgorithm(self, progress):

arguments.append(output)
arguments.append(ogrLayer)
arguments.append(self.ogrLayerName(inLayer))

commands = []
if isWindows():
Expand Down

0 comments on commit 2db2c5c

Please sign in to comment.