Merge outputs of an iterator ModelBuilder

615
2
06-04-2022 01:05 AM
KedaravindanBhaskar
New Contributor III

Hi,

I've created a model with an iterator and I want to merge the outputs. Since I have used an iterator only 1 output displays on the ModelBuilder window but there are actually 4 outputs, as seen in the table of contents. I want to merge the 4 outputs into 1 in ModelBuilder.

Currently, I am using the Merge Branch tool to try and complete this operation but I have also tried using the Append and Merge tool. the Append tool rejected the inputs (I got an error message saying inputs are invalid) while the merge tool ran successfully but didn't have the desired impact.

Any ideas on what I can do next? I have attached a picture of an excerpt from my model that illustrates the problem. Please let me know if you need more pictures or material to help solve my query.

Thank you, Kedar

0 Kudos
2 Replies
Robert_LeClair
Esri Notable Contributor

Hello!  I'd recommend reviewing a similiar desired outcome in this Esri Community thread where they use the Collect Values command in ModelBuilder to merge the 4 FC to a single FC.  Hope this helps!

0 Kudos
KedaravindanBhaskar
New Contributor III

Thanks, Robert, I'll give that a go.

P.S. sorry for the delay in getting back