Select to view content in your preferred language

combining several rasters: maximum value

3636
1
07-14-2011 01:46 AM
BojanaBajzelj
New Contributor
Hi all

I have run into a problem that I think sould have a simple solution, but I can't find it.

I want to combine two rasters into a new one, and I want the new one to have values, that are teh higher values of the two imput rasters (cell by cell basis)

For example if I had two 4 cell rasters with these values:

1 2
3 4

and

4 1
3 1

the result would be

4 2
3 4
I hope that make sense
I tried using Raster calculator, but it doesn't seem to include Maximum as a tool and my Phyton scripting attemps have all failed.

Any suggestions are GREATLY appreciated
1 Reply
PatrickTaurman
Deactivated User
You could always use Mosaic to New Raster, and select Maximum as the Mosaic Method.

Patrick