This question already has an answer here:
- Find out which raster has highest values 2 answers
I have 7 classification rasters. Each raster has probability values from 1 to 10. All of the rasters overlap each other at some areas. I would want to create a new raster that carries the maximum probability value on the overlap of the 7 rasters, and at the same time keeps the classification of the original raster. For example:
In one location: raster 1 (max is 10) overlaps with raster 2 (max is 9) and raster 3 (max is 5) ----> expected output of the pixel should have the value of raster 1
In another location: raster 1 (max is 2) overlaps with raster 2 (max is 9) and raster 3 (max is 4) ----> expected output of the pixel should have the value of raster 2
I tried "Mosaic To New Raster" tool with "maximum" but the output is simply a map showing the maximum value of the pixels, without me knowing from which raster it was coming from.
So it is possible to use ArcGIS to create this new raster (without the overlap because the overlap has already been assigned to the classification raster that carries the maximum value)?
I have been looking at existing questions, but I am not finding one that answers my question. Or if there is any, can someone point me to it?
I am using ArcGIS 10.4.
From comments by @FelixIP, this could be solved using Spatial Analyst Tools --> Local --> Highest Position!