Quantcast
Channel: Using raster calculator with GDAL in Python to make sum? - Geographic Information Systems Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Chelmy88 for Using raster calculator with GDAL in Python to make sum?

You can us gdal_calc.py in a for loop. First read all the files name, then use:gdal_calc.py -A input1.tif -B input2.tif --outfile=result.tif --calc="A+B"And then in a loop:gdal_calc.py -A inputX.tif -B...

View Article



Using raster calculator with GDAL in Python to make sum?

I have 130 rasters in a folder and I would like to create a new raster containing the sum of the 130 raster cell values.How can I do this?

View Article
Browsing all 2 articles
Browse latest View live




Latest Images