We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bee5f80 commit b6fb784Copy full SHA for b6fb784
python/plugins/processing/algs/gdal/polygonize.py
@@ -53,11 +53,12 @@ def defineCharacteristics(self):
53
self.addOutput(OutputVector(polygonize.OUTPUT, self.tr('Vectorized')))
54
55
def getConsoleCommands(self):
56
+ output = self.getOutputValue(polygonize.OUTPUT)
57
+
58
arguments = []
59
arguments.append(self.getParameterValue(polygonize.INPUT))
60
arguments.append('-f')
- arguments.append('ESRI Shapefile')
- output = self.getOutputValue(polygonize.OUTPUT)
61
+ arguments.append(GdalUtils.getVectorDriverFromFileName(output))
62
arguments.append(output)
63
arguments.append(QtCore.QFileInfo(output).baseName())
64
arguments.append(self.getParameterValue(polygonize.FIELD))
0 commit comments