Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm creating a model that takes field values from points and groups them together, creates a middle point for each group as well as creates a middle point between each group and then creates a spanning tree to all the points. Right now I'm stuck on only being able to perform this model on two different groups and would like to ultimately run this model until all the groups in the input feature field are used.

I would like to know if its possible to do a field value iteration process that can complete this task or if anyone would have any suggestions on how I can create my final output.

enter image description here

enter image description here

share|improve this question
    
Have you considered exporting it to python and adding your iteration there? –  Michael Miles-Stimson Jun 11 at 0:57
add comment

1 Answer 1

Personally, I would use arcpy.da cursors to iterate field values.

However, there is an Iterate Field Values (ModelBuilder) tool available which:

Iterates over each value in a field

If you already have a test model which creates multiple feature classes using the Iterate Field Values tool and are using the %value% variable to change each feature name, then you can use those outputs (from the iterator) as inputs into a sub-model (which you author as perhaps a slight cut down of your model) for per field value processing.

share|improve this answer
    
Thanks for your comment! I have a test model which creates multiple feature classes through field iterator and using the %value% variable to change each feature name but how do I then bring those outputs created through the iterator into the same model and continue with my model processes? Thanks for your time –  Schmu Jun 11 at 1:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.