1

I have 2 rasters that I want to combine into 1 raster, so that the 1 raster has values of each of the input rasters. I think that I want to use a 'Con' statement to do this. However, I'm having trouble with getting it to give me the output I desire. My syntax must be incorrect. Here's what I have:

1) Raster A = raster of interpolated GW surface

2) Raster B = raster of perennial streams

I want to create Raster C and have it be mostly Raster A except where there are perennial streams (water at the surface) and have those areas represented by Raster B.

  • 1
    Con(IsNull("rasterB"),"rasterA","raster") – FelixIP Aug 9 '16 at 22:45
  • Thanks. That expression makes all of the cells in the new raster that were from "rasterB" Null. I want the values from the input "rasterB" to be kept. – Ozarkian Aug 11 '16 at 15:35
  • Change it to "RasterB") – FelixIP Aug 11 '16 at 18:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.