Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
    
Apologies. I meant to add that I need to do this is in ArcGIS. –  Simon Aug 21 '13 at 13:45
1  
check this question: gis.stackexchange.com/questions/40474/… –  A.R Aug 21 '13 at 14:08
    
Thanks, but I need to reclassify specific classes inside the polygon mask, rather than make all the cells inside the mask one value. –  Simon Aug 21 '13 at 14:36
    
I'm voting to keep it open, as I feel it is sufficiently different from the candidate question. –  Devdatta Tengshe Aug 21 '13 at 15:22
    
Reclassify the entire raster, then replace the original values by the reclassified values using Con. For details, search our site for applications of Con. –  whuber Sep 27 '13 at 15:48
add comment

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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