How to use modelbuilder to minus raster file from one another?

657
1
05-30-2011 06:10 PM
jacklee
New Contributor
Hi everyone, i'm trying to build a model to minus raster file from one another.
so i insert the minus from toolbox-3D analyst tools-raster math, and then i need to input two raster files.
the problem is that both raster1 and raster2 are large amount of files, means i have to insert an iterator(see the pic below), but there can only be one iterator in a model, how can i do it? please someone inlight me or an example will be more better, thankyou everyone.
0 Kudos
1 Reply
TimothyHales
Esri Notable Contributor
If you were able to get two iterators into the model, how do you plan to specify which raster1 is subtracted from which raster2.  You might be better off running this tool in batch mode. This will allow you to specify which rasters are used to subtract from each other.
0 Kudos