Bug report #20583
Raster calculator freezes the GUI with big rasters
|Affected QGIS version:||3.5(master)||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||28403|
Raster is a dem 40000x40000 and even with a simple expression it takes ages and the GUI completely freezes (no cancellation is possible: it is disabled in code)
This makes the tool completely unusable for large rasters.
Re-add the progress bar to the calculator
Fixes #20583 - Raster calculator freezes the GUI with big rasters
... even if it is frozen while reding the raster,
at least it allows to abort the process later
#5 Updated by Alessandro Pasotti almost 3 years ago
- Status changed from Closed to Reopened
I actually fixed the "big" issue (the crash #13336) but I couldn't do much for the first part of GUI freeze: this is happening because the rasters are read as a whole and that operation is not interruptable.
But, once the raster are read and the computation starts, the progress bar now appears and the operation can be interrupted.
So, since this is a partial fix, I'm going to leave this open.