File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
python/plugins/processing/algs/grass7 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ def processAlgorithm(self, progress):
378
378
filename = out .value
379
379
# FIXME: check if needed: -c Also export features without category (not labeled). Otherwise only features with category are exported.
380
380
command = 'v.out.ogr -s -e input=' + out .name + uniqueSufix
381
- command += ' dsn ="' + os .path .dirname (out .value ) + '"'
381
+ command += ' output ="' + os .path .dirname (out .value ) + '"'
382
382
command += ' format=ESRI_Shapefile'
383
383
command += ' olayer=' + os .path .basename (out .value )[:- 4 ]
384
384
typeidx = \
@@ -446,7 +446,7 @@ def exportVectorLayer(self, orgFilename):
446
446
command += ' min_area=' + str (min_area )
447
447
snap = self .getParameterValue (self .GRASS_SNAP_TOLERANCE_PARAMETER )
448
448
command += ' snap=' + str (snap )
449
- command += ' dsn ="' + os .path .dirname (filename ) + '"'
449
+ command += ' input ="' + os .path .dirname (filename ) + '"'
450
450
command += ' layer=' + os .path .basename (filename )[:- 4 ]
451
451
command += ' output=' + destFilename
452
452
command += ' --overwrite -o'
You can’t perform that action at this time.
0 commit comments