Bug report #19595

Updated by Jürgen Fischer almost 4 years ago

[To see this problem and others with more context, check #19584.] https://issues.qgis.org/issues/19584.]

I had three 400MB 1-meter DEM .tif files, and RiverGIS only lets you query one file name per project, so I wanted to consolidate them. I tried Raster -> Miscellaneous -> Merge, but got a Memory Error every time.

I thought I'd cut the file size, so I made a vector layer with the rectangular boundary of my project. It included the corner where the three files met, and a portion of each file, plus some blank space in the fourth quadrant.

I used Raster -> Extraction -> Clip Raster by Mask Layer, and it clipped the parts of each file outside the boundary. BUT it made each output file the size of the full mask boundary! Is that expected? So they didn't get much smaller.

I'd expect a clipped file to retain its original boundaries, except where it is actually clipped further. The function I used should be called "Resize to mask layer"!