Skip to content
Permalink
Browse files

Update Grass7Algorithm.py

  • Loading branch information
neteler committed Dec 4, 2014
1 parent 0fa40a6 commit c5221125345cee654e1ea7c5d8503a84cc5cf455
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/grass7/Grass7Algorithm.py
@@ -378,7 +378,7 @@ def processAlgorithm(self, progress):
filename = out.value
# FIXME: check if needed: -c Also export features without category (not labeled). Otherwise only features with category are exported.
command = 'v.out.ogr -s -e input=' + out.name + uniqueSufix
command += ' dsn="' + os.path.dirname(out.value) + '"'
command += ' output="' + os.path.dirname(out.value) + '"'
command += ' format=ESRI_Shapefile'
command += ' olayer=' + os.path.basename(out.value)[:-4]
typeidx = \
@@ -446,7 +446,7 @@ def exportVectorLayer(self, orgFilename):
command += ' min_area=' + str(min_area)
snap = self.getParameterValue(self.GRASS_SNAP_TOLERANCE_PARAMETER)
command += ' snap=' + str(snap)
command += ' dsn="' + os.path.dirname(filename) + '"'
command += ' input="' + os.path.dirname(filename) + '"'
command += ' layer=' + os.path.basename(filename)[:-4]
command += ' output=' + destFilename
command += ' --overwrite -o'

0 comments on commit c522112

Please sign in to comment.
You can’t perform that action at this time.