I have 2 rasters that were originally vector polygons. Raster2 was created from a selection of raster1. After converting both to raster, their cells don't match up (i.e. attribute info for each cell of raster1 doesn't match up with the coinciding cell for raster2). I want to be able to select a cell in raster1 with the value of 3 and know raster2's cell with the value of 3 is in the same location. Is there a way to match them?

Note: both have the same cell size.

1 Answer 1


Try to use Spatial Analyst Tool > Extraction > Extract by Mask.

Extracts the cells of a raster that correspond to the areas defined by a mask.

In your case, input raster would be Raster2 and feature mask data would be Raster1.

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.