Bug report #20904

"Clip raster by mask layer" not working in LTR 2.18.26 or LTR 2.18.27

Added by Sarah Goodbrand almost 6 years ago. Updated almost 6 years ago.

Status:Closed
Priority:Normal
Assignee:Giovanni Manghi
Category:Processing/GDAL
Affected QGIS version:2.18.26 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:wontfix
Crashes QGIS or corrupts data:No Copied to github as #:28723

Description

"Clip raster by mask layer" was successfully working in LTR 2.18.26 on 31/12/2018. However it stopped working on 01/01/2019. In an effort to resolve the issue, I downloaded LTR 2.18.27, however "clip raster by mask layer" still does not work in the newer version.

The issue is that "clip rast by mask layer" only clips a portion of the mask layer. In addition the clipped portion does not pull across the values from the input raster file.

QGIS Bug.zip (582 KB) Sarah Goodbrand, 2019-01-02 07:38 AM

QGIS Bug.zip - Updated to include missing data (584 KB) Sarah Goodbrand, 2019-01-03 06:45 AM

History

#1 Updated by Saber Razmjooei almost 6 years ago

  • Category changed from Rasters to Processing/GDAL

#2 Updated by Giovanni Manghi almost 6 years ago

  • Status changed from Open to Feedback

Just tested on 2.18.27 and Windows 7, and works fine here. Your sample project is not usable (missing data).

Please try with a new/clean profile.

#3 Updated by Sarah Goodbrand almost 6 years ago

Sarah Goodbrand wrote:

"Clip raster by mask layer" was successfully working in LTR 2.18.26 on 31/12/2018. However it stopped working on 01/01/2019. In an effort to resolve the issue, I downloaded LTR 2.18.27, however "clip raster by mask layer" still does not work in the newer version.

The issue is that "clip rast by mask layer" only clips a portion of the mask layer. In addition the clipped portion does not pull across the values from the input raster file.

Thanks Giovanni. I updated the file to include the missing data. Please let me know if it works for you with the updated files?

#4 Updated by Giovanni Manghi almost 6 years ago

Sarah Goodbrand wrote:

Sarah Goodbrand wrote:

"Clip raster by mask layer" was successfully working in LTR 2.18.26 on 31/12/2018. However it stopped working on 01/01/2019. In an effort to resolve the issue, I downloaded LTR 2.18.27, however "clip raster by mask layer" still does not work in the newer version.

The issue is that "clip rast by mask layer" only clips a portion of the mask layer. In addition the clipped portion does not pull across the values from the input raster file.

Thanks Giovanni. I updated the file to include the missing data. Please let me know if it works for you with the updated files?

there are still missing files: in you zip there are PNG files, but the project is looking for TIFs.

#5 Updated by Nyall Dawson almost 6 years ago

Please test with 3.4 - 2.18 is no longer supported

#6 Updated by Jürgen Fischer almost 6 years ago

Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.

#7 Updated by Alexander Bruy almost 6 years ago

  • Resolution set to wontfix
  • Status changed from Feedback to Closed

2.18 reached it's end of life. Tool works fine in 3.4 and master

Also available in: Atom PDF