Skip to content

Commit

Permalink
fix GRASS7 v.rast.stats module
Browse files Browse the repository at this point in the history
  • Loading branch information
gioman committed Oct 2, 2017
1 parent 1facaef commit 74728e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/grass7/ext/v_rast_stats.py
Expand Up @@ -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]
)
Expand Down

0 comments on commit 74728e8

Please sign in to comment.