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 attempting to create a new raster based on the values of two rasters I have already created. I am using ArcGIS 10.1

  • Raster1 is an area with my true values.
  • Raster2 was created by reclassifying Raster1 using focal statistics. This reclassified the raster1 pixel values according to the maximum pixel value within the kernel.

The goal for my reclassification is to compare the values in Raster1 to the values in Raster2. If the Raster1 value is < 50% of the value in Raster 2 then the pixel in the new raster is set to 0, else the value is kept as the value in Raster1.

I am hoping that I can work something out using the ArcGIS toolbox. I am not an advanced user so I don't understand programming.

share|improve this question
    
Welcome, what have you tried already? –  lynxlynxlynx Apr 18 '13 at 18:14
    
In all truth, I don't really know where to start. I had a look at the raster calculator, thinking that would be the place to do it, but was unsure how to do if/then statements. –  Dan Apr 18 '13 at 18:44
3  
See the help for con. –  whuber Apr 18 '13 at 18:46
    
I have now given the con(,) an attempt, but I think I am having issues with my syntax. If I use the following con("Raster1", 0,1,"Raster1"*0.5<"Raster2") would that work. If I set the values for the new raster to 0 or 1 it is fine for what I am doing. I am really unsure about the where clause. –  Dan Apr 19 '13 at 16:24

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.