5

I am in the final stages of a landcover classification and need to reclassify thematic raster values that are inside different polygon masks, while leaving the values outside as they are.

Can I do this with raster calculator? And, if so, how?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Simon
  • 51
  • 1
  • 2

1 Answers1

8

Because the Raster Calculator is a spatial analyst tool, you can utilize the Mask environment.

enter image description here

From there, you can use a variety of commands to perform the reclassification: common ones include Con, Pick, Is Null and Set Null, based on your needs.

enter image description here

To check if a specific spatial analyst tool honors the Mask environment, simply scroll down to the bottom of the help page and check the available environment settings.

enter image description here

Aaron
  • 51,658
  • 28
  • 154
  • 317
  • 3
    Love the first illustration. It very clearly explains what is changed, however the answer itself doesn't address "leaving the outside values as they are", exactly. It leaves the outside values behind. – matt wilkie Dec 07 '17 at 18:20