I have two raster images, Boolean classified (1 or 2). They overlap in given areas.
I need a raster that is only the overlapping sections.
Using Arcinfo 10. Answer can only use raster methods, no converting to polygons, points, etc...
|
I have two raster images, Boolean classified (1 or 2). They overlap in given areas. I need a raster that is only the overlapping sections. Using Arcinfo 10. Answer can only use raster methods, no converting to polygons, points, etc... |
|||
|
|
This seems like a pretty simple clipping operation. Use the Clip (Data Management) tool. From the help documentation:
This should actually be simpler than your requirement as it uses core functions and should not even require the Spatial Analyst extension, as other methods might. -------------- Edit On the other hand, if your goal is to create a raster that shows where both inputs were null, or either one had a value, or both had a value, then you would use Raster Multiplication. This essentially creates an output raster that has values which are the multiples of the values of the input rasters. Note that what follows requires the Spatial Analyst extension. An example, in your case, with boolean rasters.
If you want to be able to determine which of your inputs has a true value, you will need to reclassify one of the input rasters so that your multiplied values are completely unique. Both inputs will need to be reclassified so that there is no Value of "1", as this will allow for duplicate values in a multiplied raster. Example:
You could do a combination of these operations where you clip one of the rasters by the other, to only show the overlapping area. Then reclassify and multiply the rasters to show where both are False, one or the other are True, or both are True. Hope this helps. |
|||||||||
|
|
I assume that in your rasters you have value 1 for white (in some way nodata area) and 2 for blue/green. So, you need to get areas where both rasters have value 2. This can be easily performed with Raster Calculator in ArcGIS. Expression will look like:
or
PS this tool requires Spatial Analyst extension |
|||
|
|