NOAA-OCM / QNSPECT

QGIS Plugin for NOAA Nonpoint Source Pollution and Erosion Comparison Tool (NSPECT)
GNU General Public License v2.0
8 stars 5 forks source link

Align Rasters should use Clip Raster by Mask Layer rather than Clip Raster by Extent #74

Closed shanburkhalter closed 2 years ago

shanburkhalter commented 2 years ago

Latest QNSPECT version

Similar issue do not exist

What is the bug or the crash?

QNSPECT users almost always are working within a defined area of interest such as a polygon watershed basin. Align Rasters currently clips by corner coordinates providing a rectangular output. If Clip Raster by Mask Layer could be used in Align Rasters the output would be based on the shape of the area of interest.

Steps to reproduce the issue

Go to Align Rasters Add reference Raster and Rasters to Align Add a polygon vector file as the Clipping Extent

Versions

QGIS version 3.22.3-Białowieża

Additional context

No response

ar-siddiqui commented 2 years ago

There are mask by layer algorithms available in QGIS. A user can use them on inputs or outputs of align rasters tool to get desired behaviour, but I agree this would be a good feature to add.