Extract by Mask

  • The Extract by Mask command allows us to subset a raster using a shapefile (or another binary raster image: 1=keep, 0=remove).
  1. ArcToolbox > Spatial Analyst Tools > Extraction > Extract by Mask
  2. Input Raster: load the image you would like to clip
  3. Input Raster or Feature Mask:  Point to an existing raster or vector dataset that represents the area to which you want to clip the image
    • this can be a vector polygon or a raster image whose pixels are either 0 (do not include the pixel in the output image) or 1 (include the pixel in the output image)
    • make sure that this dataset is in the same coordinate system as the image you are subsetting
  4. Output Raster:  Specify the name of the new subsetted image that will be created
  5. Hit OK to process