I have two raster surfaces that have the same resolution and footprint.

They represent two soil layers. As such, one should always be less than the other because that soil layer can't cross above the other.

Grid1 should always be "above" Grid2.

But my raster data don't reflect that so what I want to do is identify all pixels of Girid2 where Grid2 > Grid1 and replace them with the Grid1 values.

The desired result is a modified version of Grid2 that will be equal to Grid1 where it used to be greater than Grid1. The two surface will "kiss" in those spots.

this is what I'm trying but it doesn't appear to work


I want it to evaluate as:

Where Grid2 > Grid1, replace with Grid1, otherwise keep Grid2


1 Answer 1


With more trials I got it work in a clean new .MXD document:


enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.