[GIS] Using output of iterate files as input for merge tool in ModelBuilder

arcmapiteratormergemodelbuilder

I am using trying to use an iterator to run through and folder of shapefiles and add them as input to the merge tool in ArcMap ModelBuilder. Something seems amiss; when I connect the iterate output file to the merge tool in ModelBuilder, it doesn't seem to take.

What am I doing wrong here?

enter image description here

Best Answer

First setup Iterate Feature Classes to loop through all your feature classes in a workspace, this will feed them one at a time into your next process, but if you put Collect Values as the next step in your process it will 'clump' all the individual feature classes into a cohesive input for Merge..

enter image description here

This workflow produced a merged feature class from all the feature classes in the workspace Area11_14.

Related Question