Feature request #21251
Set output file resolution option and CRS options to Processing Clip Raster to Mask Layer - ClipRasterByMask.py
|Pull Request or Patch supplied:||Yes||Resolution:||fixed/implemented|
|Easy fix?:||No||Copied to github as #:||29069|
This is a feature request to add the output file resolution option to Clip Raster to Mask Layer. This was possible in QGIS 2.18 Raster -> Extraction -> Clipper, but not in the Processing implementation of gdalwarp.
I also propose the introduction of -s_srs and -t_srs options, to overcome this issue, that will only be fixed in GDAL 2.4.1:
I'm making a proposal patch, but please make a review, because it is fully functional, but the code can be not too polite.
The only problem I see is, as they are QgsProcessingParameterBoolean (and not radio buttons), a user can check both KEEP_RESOLUTION and SET_RESOLUTION at the same time. Is there any form to put them mutually exclusive in Processing? If not, I think a user needs to know what is doing when activate an option that is, by default, unselected.
Thank you very much!
#4 Updated by Giovanni Manghi over 3 years ago
- Resolution set to fixed/implemented
- Status changed from Open to Closed
The patch was merged into 3.6 and master, while for 3.4 was closed is not really a bug fix.
Anyway here https://github.com/qgis/QGIS/pull/9445 a few comments were made, and possibly this could lead to tweak the already committed patches to 3.6 and master.