Select to view content in your preferred language

Calculating field values in Model Builder from from interated layers.

139
3
2 weeks ago
Labels (3)
FlightDeck
Regular Contributor

Hey All,

I am working in model builder to build polygons based on a set of points. So far I have the polygons being created successfully and have added a few fields I need to have populated. The data I need to have placed in the new fields is contained in the iterated layers. The iterated layers however are point data how can I get the values from one of the points and use that to populate the new fields in the polygon?

 

 

0 Kudos
3 Replies
BrendanNewell
Esri Contributor

Hey @FlightDeck there might be a range of different ways to achieve this although it may depend on values you require to be added to the new polygon. Couple of questions.

  • does it matter what point you get the information from within the set of points?
  • Do all the points have the same attributes within the set of points?
  •  
🙂
0 Kudos
FlightDeck
Regular Contributor

@BrendanNewell the first 2 fields I need are a text fields and are the same within the field and as such obtaining the value from any point would be acceptable. The next 2 fields are numbers so it would be best if I could grab the highest value available from each field. 

0 Kudos
BrendanNewell
Esri Contributor

Hey @FlightDeck, thought about a few different options here..

I think testing spatial join will be a good starting point to see if this deliveries what you require.

  1. Add Spatial join, configure as needed
  2. Remove any unwanted fields via Field Map
  3. In the Field Map, Edit Fields (click the pencil next to a field) where you want the highest value to be preserved and set the action to MAX

2025-07-23_15-14-24.PNG

🙂
0 Kudos