Question

Add to raster cell value based on value in another raster at same location

  • 2 May 2019
  • 1 reply
  • 1 view

Badge +1

I have two GeoTIFF rasters. A & B.

Each Raster has a different amount of rows and columns. Geographically they are of the same location.

Both Rasters are in the same projection.

What I want to do is grab the cell values of Raster A and add to them the value that is at the same geo location in raster B.

I had hoped RasterExpressionEvaluator or RasterCellValueCalculator would help but seeing the Rasters have different row and column counts it errors.

Any advice would be great, thanks :)

 

 


1 reply

Userlevel 2
Badge +17

You can use the RasterMosaicker to calculate the sum of cell values where the two rasters overlap, after clipping the raster B by the raster A.

Reply