Iterators, Help!

345
1
05-01-2013 02:51 PM
by Anonymous User
Not applicable
Original User: federicotallis

Hey Guys,
I could definitely use some help. I am using an iterator to join features from two different files, I get this result.

[ATTACH=CONFIG]23921[/ATTACH]

Note that for each iteration it creates the same identical fields as the previous iteration. I want to combine them automatically into one set of fields.  Has anyone come across a challenge like this?

Here is what my model looks like....
[ATTACH=CONFIG]23922[/ATTACH]
0 Kudos
1 Reply
by Anonymous User
Not applicable
Original User: helyxsisltd

The Join Field tool isn't what you want here - it is there to allow you to relate data from one table to another (e.g. land parcels to owners), not to collect together a single set of records under one schema.

Instead, you'll want the Append tool to achieve this (http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001700000050000000). Whether you use this directly within this model (you may need to create an empty output feature class within the model to start appending to?) or whether you use it in a separate model is up to you. If you used it in a separate model, then you could use the Collect Values tool in order to output a feature set from your current model, and use this as input to the Append tool in your subsequent model. Help on the Collect Values tool can be found here:

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//004000000005000000.htm
0 Kudos