I'm looking to do the same exact thing. I have a bunch of big NAIP DOQQ files that I want to use the Band Arithmetic function on (to get NDVI as a 1 to -1 value). I want to do it iteratively in model builder but can't find a way to drop a raster function into model builder like you can do with any of the tools in toolbox.
Would be very helpful indeed. Still waiting for this improvement. I need multidirectional hillshade function employed in a modelbuilder chain and its impossible for now.
Solved: You can use the Generate Raster from Raster Function tool to do this. It's a little tricky. Create an rft with your raster functions chain and save it out after changing the input to a default raster and make it public.
Add the Generate Raster from Raster Function tool to Model Builder and add your rft. Then you need to change the Raster in the Raster Function Arguments to Value to the raster in your model.
The function chain I used (for finding tree tops using a negated CHM as sinks would be the tops of trees):
Using the raster functions instead of the traditional method cause the processing to run about 4x faster as there is no intermediate files. Instead of TIF output, outputing to CRF will also speed up processing for intermediate files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.