Skip to content

Commit

Permalink
Merge pull request #5282 from NaturalGIS/fix_grass7_v_rast_stats
Browse files Browse the repository at this point in the history
[processing] fix GRASS7 v.rast.stats module
  • Loading branch information
alexbruy committed Oct 5, 2017
2 parents 9a8c07e + 74728e8 commit 1781cfc
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 1781cfc

Please sign in to comment.