Skip to content
Permalink
Browse files

Merge pull request #5282 from NaturalGIS/fix_grass7_v_rast_stats

[processing] fix GRASS7 v.rast.stats module
  • Loading branch information
alexbruy committed Oct 5, 2017
2 parents 9a8c07e + 74728e8 commit 1781cfcbd15a1836ab1155ce8fb9ecd3ca601c2d
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/grass7/ext/v_rast_stats.py
@@ -42,7 +42,7 @@ def processOutputs(alg):
# We need to add the vector layer to outputs:
out = alg.exportedLayers[alg.getParameterValue('map')]
from_out = alg.getOutputValue('output')
command = u"v.out.ogr -s -e input={} output=\"{}\" format=ESRI_Shapefile output_layer={}".format(
command = u"v.out.ogr --overwrite -s -e input={} output=\"{}\" format=ESRI_Shapefile output_layer={}".format(
out, os.path.dirname(from_out),
os.path.splitext(os.path.basename(from_out))[0]
)

0 comments on commit 1781cfc

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