Bug report #19570
Raster terrain analysis Relief Crashes QGIS
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Processing/Core | ||
Affected QGIS version: | 3.2.1 | Regression?: | No |
Operating System: | Windows 7 Enterprise Service Pack 1 | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 27397 |
Description
When I try and run the Relief process in the Raster terrain analysis group on a .bil raster DEM of SRTM data it crashes QGIS when ran as "Run in Background".
I have tried this on three different DEM files in a project with other layers and in a new project where the DEM is the only layer. It crashes every time.
I have tried checking the "Generate relief classes automatically" and defining my own colors by hand.
I have ran the GDAL Color relief process and it works just fine. I have also ran the Aspect, Hillshade, and Slope under Raster terrain analysis group and they all function just fine.
I loaded the DEM into QGIS 2.18.22 and ran the Raster Terrain Analysis Relief there and it worked just fine. Also, when it is ran as a batch process in 3.2.1 it works just fine.
Associated revisions
Fix crash in relief calculation when exporting distribution to csv
Fixes #19570
[processing] Don't create frequency distribution file for relief
algorithm by default
Refs #19570
Fix crash in relief calculation when exporting distribution to csv
Fixes #19570
(cherry-picked from c860696)
[processing] Don't create frequency distribution file for relief
algorithm by default
Refs #19570
(cherry-picked from d39bdcd)
History
#1 Updated by Nyall Dawson over 6 years ago
- Status changed from Open to Feedback
Can you share your files? I can't reproduce here.
#2 Updated by Michael Knopp over 6 years ago
- File Screencap 003.png added
- File n06_e126_1arc_v3_bil.zip added
- File Screencap 001.png added
- File Screencap 002.png added
Sure.
I am attaching the zip file with the .bil SRTM data inside of it. I am also attaching three screen caps showing the setup that I tested and the resulting greyed out program just before it crashes.
Let me know if there is anything else that I can do to help.
#3 Updated by Nyall Dawson over 6 years ago
- Status changed from Feedback to Open
Thanks -- I can reproduce with that dataset
#4 Updated by Nyall Dawson over 6 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset qgis|c860696a3ec8d23e90cebc2466975400ae301f73.
#5 Updated by Giovanni Manghi over 6 years ago
- Resolution set to fixed/implemented
#6 Updated by Nyall Dawson over 6 years ago
If you're looking for a quick workaround which works in 3.2.1 - set the "frequency distribution file" to "skip output" in the algorithm dialog.
#7 Updated by Michael Knopp over 6 years ago
Nyall,
Thank you, but I already processed them through the Batch processing.