I am familiar with the tool Highest Position (Spatial Analyst) in Arcgis, but I am trying to replicate this tools function is QGIS. Is anyone aware if this tool exist in QGIS (possibly under a different name)? I have tried looking but no luck yet. Below is a description of what the tool does in Arcgis.
So the way the Highest Position Tool works in Arcgis is as follows:
- The order that you added your raster is important for the output:
- When I add InRas1 to the tool, it is my first input for my stack of rasters. The tool assigns this raster the value of 1
- When I add InRas2 to the tool, it is my 2nd input for my stack of rasters. The tool assigns this raster the value of 2
- When I add InRas3 to the tool, it is my third input for my stack of rasters. The tool assigns this raster the value of 3.
- When the Highest Position tool is run, it is looking at over laying pixels to determine the highest value. In this example I will use the bottom left pixel of inputs InRas1, InRas2 and InRas3. From the illustration, InRas1 has the highest value of 4 and so in the output raster (outRas), the tool assigns that pixel a value of 1 (as this was the first raster in putted into my raster stack. See point 2 above)