Hi,
I would like to delete overlapped area and get not-overlapped raster image.
I tried to use clip tool, but clip tool only provided overlapped areas.
I have one base raster layer (brown pixels) and one polygon (pink color).
Do you have any idea how to deleted overlapped area?
Alternatively, I also have two raster layers. One for base raster (brown pixels) and the other one for overlapped raster (pink pixels) after use mask tool.
I guess I may use raster calculation tool to get the not-overlapped pixels as an image, but I do not know how to do that.
In order to get not-overlapped image, I do not know which one will be better and faster between (one raster with polygon) and (two rasters).
Thank you,
Sun
Solved! Go to Solution.
You should be able to use a raster calculator expression like:
Con(IsNull("PINK_RASTER"),"BROWN_RASTER")
You have Advanced license and Spatial Analyst? I think you can use "Erase" tool to accomplish that
Thanks for your comments.
I already tried to use the Erase tool, but I cannot use the raster into either input features or Erase features.
I guess both input features and erase features allow to use polygon shapefile rather than raster.
I'm sorry, I didn't noticed you talking about rasters
Thanks for your response.
Maybe I did not explicitly explain my problem
As Ivan noted above, if you have SA enabled a couple of the "Extract by...." tools might be of use. It could be as easy as a selection/switch selection on your polygon layer and then feed that into the appropriate "Extract by...." tool.
You should be able to use a raster calculator expression like:
Con(IsNull("PINK_RASTER"),"BROWN_RASTER")
assuming spatial reference, cell size etc are the same between data sets, correct?
Yes, cell sizes are the same between data sets. For the spatial reference, if it means projection, yes, they are same.
Sure, those are good rules of thumb for any project.