mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[processing] restore Polygonize algorithm functionality (fix #8252)
This commit is contained in:
parent
4a40300cbc
commit
f7aab64005
@ -27,12 +27,13 @@ import os
|
||||
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):
|
||||
@ -56,7 +57,7 @@ class polygonize(GeoAlgorithm):
|
||||
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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user