Hi, I am having a similar problem with combining an iterator and the collect values tool with the Mosaic to New Raster tool. Basically I would like to collect a number of rasters from a geodatabase based on a Wildcard specification, then mosaic these into a new raster. However, I continue to get the ERROR 00157 "Input and target dataset should have the same number of bands". I'm not sure what the problem is. All the rasters have a single band and I am following almost the exact same process as ESRI's example of how to use the Collect Values tool. I have also attached an image of what my model looks like.Thank you for the help.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.