[Qgis-user] Qgis : Rounding all 228 bands of a float 64 bits raster?
Andrea Giudiceandrea
andreaerdna at libero.it
Sun Jan 11 12:47:39 PST 2026
Hi Laurent Celati and list,
in order to apply the same math expression to all the cell values of all
the bands of a multi-band raster layer, you can just use the GDAL
"Raster Calculator" [1] processing algorithm in QGIS, provided that the
"--allBands" [2] option is added as an "Additional command-line
parameters" to the algorithm.
See my more detailed answer at https://gis.stackexchange.com/a/499651/107272
Regards.
Andrea
[1]
https://docs.qgis.org/latest/en/docs/user_manual/processing_algs/gdal/rastermiscellaneous.html#gdalrastercalculator
[2] https://gdal.org/en/stable/programs/gdal_calc.html#cmdoption-allBands
> celati Laurent laurent.celati at gmail.com
> Sat Jan 10 03:59:37 PST 2026
> I work with qgis 3.4. I have a float 64 bits multi bands raster (228
> bands).
> I would like to round / reduce the number of decimals for all bands (228
> bands).
More information about the QGIS-User
mailing list