Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1849 from gioman/fix_ogr2ogr_convert_format
fix Processing ogr2ogr convert format tool
  • Loading branch information
alexbruy committed Jan 22, 2015
2 parents ee0e90a + 2db2c5c commit 7c71a26
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 7c71a26

Please sign in to comment.