0

This question already has an answer here:

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!

marked as duplicate by user2856, Evil Genius, Vince, Dan C, xunilk Jul 2 '18 at 16:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Consider using combine tool. In a new column compute relevant raster no. – FelixIP Jun 26 '18 at 19:02
  • @FelixIP thanks, but how exactly will I compute the relevant raster number? I believe by using 'combine', a new table is created with new columns from the 7 rasters, right? Should I compute the max out of the 7? – GISnew Jun 26 '18 at 19:18
  • 1
  • @FelixIP This Spatial Analyst Tools --> Local --> Highest Position is great! It worked for me. Thank you. – GISnew Jun 27 '18 at 13:25
  • Post it as solution please. – FelixIP Jun 29 '18 at 19:51