Select to view content in your preferred language

Auto-populating field using spatial location of another feature and its attributes using ArcGIS Pro

2752
2
09-15-2022 09:35 AM
Labels (2)
community5
New Contributor

I'd like to auto-populate a field based on its spatial location of another feature. For example, I have a US County layer and a polygon feature class called "Locations" (see attached). 


When I add new polygons A & B to my "Locations" layer, how can I auto-populate the County Name from those unique spatial locations?

I've created a join between the 2 hosted feature classes, but just not sure how to make the auto-populate work?

 

Tags (2)
2 Replies
DavidSolari
Frequent Contributor

Attribute Rules sound like the clear answer here, you can get started at this link. If your datasets need to remain accessible in ArcMap then this is off the table, 2 things you can try are:

  1. Using the new Field Maps arcade functionality to calculate the attributes client-side (link). This'll only work if your only point of entry to the data is through Field Maps.
  2. Create database triggers in your RDBMS if available. This is a very fragile process as anything that changes the underlying table structure (such as enabling versioning) will break your triggers and you may have to write some complex SQL to keep the tables in line, but this'll work across the board.
0 Kudos
community5
New Contributor

Thanks so much David for guiding me to Attribute Rules.  Looking a little closer, it appears that I would need a Standard or Advanced license to use it.  I just have a basic license.  

0 Kudos