Feature request #20060

Allow cancelling gdal algorithms

Added by Lene Fischer almost 2 years ago. Updated almost 2 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Processing/Core
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:27882

Description

Trying to clip a raster with a mask layer. Deciding to stop the process - but Executing in the statusbar does not respond to clik at the red cross


Related issues

Related to QGIS Application - Bug report #20063: The "output folder" Processing configuration has no effect Closed 2018-10-09
Duplicated by QGIS Application - Bug report #20441: Unable to stop executing GDAL algorithm Closed 2018-11-10

History

#1 Updated by Lene Fischer almost 2 years ago

Get this report
Processing algorithm…
Algorithm 'Clip raster by mask layer' starting…
Input parameters: { 'ALPHA_BAND' : False, 'CROP_TO_CUTLINE' : True, 'DATA_TYPE' : 5, 'INPUT' : 'C:/gis/raster/dtm_rain_byg.tif', 'KEEP_RESOLUTION' : False, 'MASK' : 'C:/gis/raster/kommune/KOMMUNE.shp', 'NODATA' : None, 'OPTIONS' : '', 'OUTPUT' : 'C:/Users/dlt265/AppData/Local/Temp/processing_cc09b3140c1841388b920e72af1f473e/c7b91d8e2b12454aaf0a642d4c0daa61/OUTPUT.tif' }

GDAL command:
gdalwarp -ot Float32 -of GTiff -cutline C:/gis/raster/kommune/KOMMUNE.shp -crop_to_cutline C:/gis/raster/dtm_rain_byg.tif C:/Users/dlt265/AppData/Local/Temp/processing_cc09b3140c1841388b920e72af1f473e/c7b91d8e2b12454aaf0a642d4c0daa61/OUTPUT.tif
GDAL command output:
0...10...20...30...40...50...60...70...80...90...100 - done.

Execution failed after 303.39 seconds

Loading resulting layers
Algorithm 'Clip raster by mask layer' finished

#2 Updated by Lene Fischer almost 2 years ago

I now have tried to change settings for Processing to output folder to c:\gis\temp
restart program
trying to run the proces again the GDAL console list this message - no change of the folder for the output:

gdalwarp -ot Float32 -of GTiff -cutline C:/gis/raster/kommune/KOMMUNE.shp -crop_to_cutline C:/gis/raster/dtm_rain_byg.tif C:/Users/dlt265/AppData/Local/Temp/processing_ccbc8bf97e664f4e884480ab275cfb81/ee54d11e700a4690be5eb4a05abffad2/OUTPUT.tif

#3 Updated by Nyall Dawson almost 2 years ago

  • Subject changed from Unable to 'kill' Clip raster by mask layer to Allow cancelling gdal algorithms
  • Tracker changed from Bug report to Feature request

#4 Updated by Giovanni Manghi almost 2 years ago

Lene Fischer wrote:

I now have tried to change settings for Processing to output folder to c:\gis\temp
restart program
trying to run the proces again the GDAL console list this message - no change of the folder for the output:

gdalwarp -ot Float32 -of GTiff -cutline C:/gis/raster/kommune/KOMMUNE.shp -crop_to_cutline C:/gis/raster/dtm_rain_byg.tif C:/Users/dlt265/AppData/Local/Temp/processing_ccbc8bf97e664f4e884480ab275cfb81/ee54d11e700a4690be5eb4a05abffad2/OUTPUT.tif

filed as #20063 (edited)

#5 Updated by Jürgen Fischer over 1 year ago

  • Related to Bug report #20063: The "output folder" Processing configuration has no effect added

#6 Updated by Alexander Bruy over 1 year ago

Also available in: Atom PDF