Export 3d vectors as such

This commit is contained in:
Giovanni Manghi 2013-10-06 11:00:07 +01:00
parent 9ae931c22e
commit 442b236ac9

View File

@ -381,7 +381,7 @@ class GrassAlgorithm(GeoAlgorithm):
if isinstance(out, OutputVector):
filename = out.value
command = 'v.out.ogr -c -e input=' + out.name + uniqueSufix
command = 'v.out.ogr -c -e -z input=' + out.name + uniqueSufix
command += ' dsn="' + os.path.dirname(out.value) + '"'
command += ' format=ESRI_Shapefile'
command += ' olayer=' + os.path.basename(out.value)[:-4]