0

I wanted to extract an area (as set by a polygon) from a composite band raster using the Extract by Mask tool. Once I've done it, I've changed the RGB symbology to the correct bands specified by Landsat. However, the resulting layer does not seem to have the same bands as the original layer (as seen in the picture) and I was wondering how does the Extract by Mask tool change the raster bands.

I am using ArcGIS Desktop 10.8.2.

enter image description here

3
  • what are the raster properties between the original and the clipped new one?
    – Theo F
    Commented Nov 10, 2022 at 16:16
  • @TheoF what properties do you mean?
    – mvgmvg
    Commented Nov 10, 2022 at 16:26
  • so in your GIS software you can right click each layer then click properties. On the 'source' tab (in ArcGIS Pro, might be different in ArcMap) there are various properties of your raster file, such as pixel bit depth, pixel type, cell size, number of bands, compression type, raster format. You need to make sure your new clipped raster doesn't have drastically different properties, especially for pixel bit depth, cell size and number of bands.
    – Theo F
    Commented Nov 11, 2022 at 11:09

1 Answer 1

0

The ArcGIS 10.8 Extract by Mask help reads:

To process a selection of bands from a multi-band raster, first create a new raster dataset composed of those particular bands with the Composite Bands tool, and use the result as the Input Raster (in_raster in Python).

While no longer shown in the 10.8 help if you look at 10.3 help for Extract by Mask that reads;

If the input is a layer created from a multiband raster with more than three bands, the extraction operation will only consider the bands that were loaded (symbolized) by the layer. As a result, the output multiband raster can only have three bands, corresponding to those used in the display of the input layer.

Did you do the extract by mask outside of your ArcGIS session? Using Catalog or a model builder tool to do the extract from files on disk? If so, you ended up with RGB in the final output.

If you use Extract by Mask in ArcGIS and pointed the tool to the raster (with your chosen bands) in the table of contents then you ought to have the same bands in the output as the input. Check the symbology properties of the input data and compare those to the output data symbologies. Using percent clip as the default stretch value messes up the display in ArcGIS. Set both to none and report back.

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.