Model to Merge database of feature classes.

1978
2
07-16-2013 12:02 PM
SusanBien
New Contributor
I just started working with models so I don't have much experience. I'm trying to take a database with multiple line feature classes and merge them into one final feature class.  I made this model but it isn't working.  I'm ending up with a new feature class with only 1 line in it instead of about 6 lines.

[ATTACH=CONFIG]25978[/ATTACH]
0 Kudos
2 Replies
RichardFairhurst
MVP Honored Contributor
I just started working with models so I don't have much experience. I'm trying to take a database with multiple line feature classes and merge them into one final feature class.  I made this model but it isn't working.  I'm ending up with a new feature class with only 1 line in it instead of about 6 lines.

[ATTACH=CONFIG]25978[/ATTACH]


With the merge tool you don't use an iterator.  You just include all 5 feature classes as inputs to the tool assuming they are all the same geometry type and run it.  Every feature from those 5 inputs will be combined into a single output feature classes.
0 Kudos
ShitijMehta
Esri Regular Contributor
Read the Advanced use of Model Iterators section from the link.
0 Kudos