[Qgis-user] Sum a list os raster

Nicolas Cadieux njacadieux.gitlab at gmail.com
Wed Jan 13 09:46:38 PST 2021


Too long for the space in the GUI? If so, we should make a feature request to change this.  I have had this problem before running software in the dos shell.  Since you only have 15 rasters, by far, the easiest thing is to copy the file to a new folder like c:\temp and then to rename the rasters 1.tif, 2.tiff...

I imagine you could also use the python interface in QGIS to do this.  There is always Gdalcalc.py that you could use in the shell.

Nicolas Cadieux

> Le 12 janv. 2021 à 12:18, Igor Oliveira Ribeiro <igorgeoinformacao at gmail.com> a écrit :
> Hi,
> I have a list with 15 raster. I would like to make a simple sum of these raster. I know about raster calculation tool, but the expression would be too long. Is there a way to replace this expression (raster1+raster2+...+raster15) by sum(raster1,raster2,...,raster15) for example?
> Thanks
> -- 
> See our last paper: 
> Impact of biomass burning on a metropolitan area in the Amazon during the 2015 El Niño: The enhancement of carbon monoxide and levoglucosan concentrations.
> Igor Oliveira Ribeiro
> Post-Doc on Regional Climate Change, Vulnerability, Impacts and Adaptation - IPCC/Cuomo/UEA
> +55 92 98103 7136 | skype: igorflorestal
> Universidade do Estado do Amazonas | Instituto Nacional de Pesquisas da Amazônia
> Visite: www.geoescrita.com.br
> Think globally, act locally!
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210113/9026079d/attachment.html>

More information about the Qgis-user mailing list