I have two raster image i.e A & B of different geographical extent. A image have the large geographical extent with raster value of 1 whereas B image is cover the smaller geographical extent within the area of A image.

The raster value of B image is 0. I want to overlay B image on A image and keep the raster value of 0 on B image area and rest of the area should be 1 as given in below picture. https://i.stack.imgur.com/HVjFV.jpg

I required resultant image same as C image but unfortunately I got the result of B image geographical extent only.

How can I do this in ArcGIS Desktop? Is it possible to raster overlay/calculation with different geographical extended images?

  • 1
    Welcome to GIS SE. As a new user, please take the Tour. You've left out some critical details. Do the different extents share the same coordinate reference? What have tried? What error did you encounter? ArcMap (with the Spatial Analyst extension) is certainly capable of doing conditional overlay, but GIS SE isn't set up as a GIS tutoring site, so we need to know what you have tried. – Vince Dec 8 '18 at 13:07
  • Yes, both the image have same coordinate reference. I have tried fuzzy overlay method to merge both the images and demarcate the B image areas with raster value of 0 and rest of the area with raster vale of 1. But in the result I got B image only. – Abdul Azeez Dec 8 '18 at 13:53
  • 2
    Possible duplicate of Adjusting extent of raster? – MappaGnosis Dec 8 '18 at 14:39
  • Use the Con function in the Spatial Analyst Toolbox. desktop.arcgis.com/en/arcmap/10.3/tools/spatial-analyst-toolbox/… – GBG Dec 8 '18 at 16:11

As GBG suggested in the comments, you should try using the Con function (short for "conditional"). A similar tool is also available in Raster Calculator. You should also check to make sure your Environment Settings are set so that the extent is matches your larger raster (Raster A).

Your Answer

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

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