File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
python/plugins/processing/algs/grass7/ext Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3131
3232def processOutputs (alg ):
3333 out = alg .getOutputValue ('output' )
34- command = u"v.out.ogr -c -s -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
34+ command = u"v.out.ogr --overwrite - c -s -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
3535 alg .exportedLayers [out ],
3636 os .path .dirname (out ),
3737 os .path .splitext (os .path .basename (out ))[0 ]
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def processOutputs(alg):
6868 # Output results ('from' table and output table)
6969 for output in [u'from_output' , u'output' ]:
7070 out = alg .getOutputValue (output )
71- command = u"v.out.ogr -c type=auto -s -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
71+ command = u"v.out.ogr --overwrite - c type=auto -s -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
7272 alg .exportedLayers [out ],
7373 os .path .dirname (out ),
7474 os .path .basename (out )[:- 4 ]
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def processOutputs(alg):
6666 # We need to add the from layer to outputs:
6767 out = alg .exportedLayers [alg .getParameterValue ('map' )]
6868 from_out = alg .getOutputValue ('output' )
69- command = u"v.out.ogr -s -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
69+ command = u"v.out.ogr --overwrite - s -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
7070 out , os .path .dirname (from_out ),
7171 os .path .splitext (os .path .basename (from_out ))[0 ]
7272 )
Original file line number Diff line number Diff line change 3030
3131def processOutputs (alg ):
3232 out = alg .getOutputValue (u"output" )
33- command = u"v.out.ogr -c type=line layer=1 -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
33+ command = u"v.out.ogr --overwrite - c type=line layer=1 -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
3434 alg .exportedLayers [out ],
3535 os .path .dirname (out ),
3636 os .path .basename (out )[:- 4 ]
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def processOutputs(alg):
4242 # We need to add the vector layer to outputs:
4343 out = alg .exportedLayers [alg .getParameterValue ('areas' )]
4444 from_out = alg .getOutputValue ('output' )
45- command = u"v.out.ogr -s -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
45+ command = u"v.out.ogr --overwrite - s -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
4646 out , os .path .dirname (from_out ),
4747 os .path .splitext (os .path .basename (from_out ))[0 ]
4848 )
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def removeOutput(alg):
4646def outputInput (alg ):
4747 """Make output the initial point/polygon layer"""
4848 output = alg .getOutputValue (u'output' )
49- command = u"v.out.ogr -c type=auto -s -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
49+ command = u"v.out.ogr --overwrite - c type=auto -s -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
5050 alg .exportedLayers [alg .getParameterValue (u'map' )],
5151 os .path .dirname (output ),
5252 os .path .basename (output )[:- 4 ]
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def processOutputs(alg):
4242 # We need to add the vector layer to outputs:
4343 out = alg .exportedLayers [alg .getParameterValue ('map' )]
4444 from_out = alg .getOutputValue ('output' )
45- command = u"v.out.ogr -s -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
45+ command = u"v.out.ogr --overwrite - s -e input={} output=\" {}\" format=ESRI_Shapefile output_layer={}" .format (
4646 out , os .path .dirname (from_out ),
4747 os .path .splitext (os .path .basename (from_out ))[0 ]
4848 )
You can’t perform that action at this time.
0 commit comments