Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] restore Polygonize algorithm functionality (fix #8252)
  • Loading branch information
alexbruy committed Sep 15, 2013
1 parent 4a40300 commit f7aab64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/plugins/processing/gdal/polygonize.py
Expand Up @@ -27,12 +27,13 @@
from PyQt4 import QtGui, QtCore

from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.tools.system import *

from processing.parameters.ParameterRaster import ParameterRaster
from processing.parameters.ParameterString import ParameterString
from processing.outputs.OutputVector import OutputVector

from processing.tools.system import *

from processing.gdal.GdalUtils import GdalUtils

class polygonize(GeoAlgorithm):
Expand All @@ -56,7 +57,7 @@ def processAlgorithm(self, progress):
arguments = []
arguments.append(self.getParameterValue(polygonize.INPUT))
arguments.append('-f')
arguments.append('"ESRI Shapefile"')
arguments.append('ESRI Shapefile')
output = self.getOutputValue(polygonize.OUTPUT)
arguments.append(output)
arguments.append(QtCore.QFileInfo(output).baseName())
Expand Down

0 comments on commit f7aab64

Please sign in to comment.