Raster Calculator Iteration

المشرف العام

Administrator
طاقم الإدارة
I have a large number of rasters and I want to add 1 to each of them (e.g. each raster's values currently range from 0 to 1, and I want to make them range from 1 to 2). I believe modelbuilder with the "Iterate Rasters" tool and the "Raster Calculator" tool should do this.

In "Raster Calculator" outside of modelbuilder, selecting the raster name and typing + 1 works to do this on a single raster. However, in modelbuilder, using ("%Raster%") + 1 does not work (see attached photo).

I'm new to modelbuilder and Python, so any help would be appreciated (try and keep it simple!)





أكثر...
 
أعلى