remove -z modifier when exproting to shapefile (bug#5394)

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@110 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
This commit is contained in:
volayaf 2012-04-17 15:23:35 +00:00
parent 9eeec08401
commit c85bfa7fbb

View File

@ -198,7 +198,7 @@ class GrassAlgorithm(GeoAlgorithm):
command += " output=\"" + filename + "\"" command += " output=\"" + filename + "\""
commands.append(command) commands.append(command)
if isinstance(out, OutputVector): if isinstance(out, OutputVector):
command = "v.out.ogr -e -z input=" + out.name command = "v.out.ogr -e input=" + out.name
command += " dsn=\"" + os.path.dirname(out.value) + "\"" command += " dsn=\"" + os.path.dirname(out.value) + "\""
command += " format=ESRI_Shapefile" command += " format=ESRI_Shapefile"
command += " olayer=" + os.path.basename(out.value) command += " olayer=" + os.path.basename(out.value)