Skip to main content
Question

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

  • May 2, 2019
  • 1 reply
  • 33 views

rclarkenz
Contributor
Forum|alt.badge.img+2

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 :)

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

takashi
Celebrity
  • 7843 replies
  • May 2, 2019

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.