Esri / local-government-desktop-addins

A series of ArcGIS Desktop Add-ins used in the ArcGIS for Local Government editing maps.
Apache License 2.0
61 stars 57 forks source link

Attribute Assistant - Option to specify multiple methods for same featureclass field. #299

Open WilliamWalker opened 5 years ago

WilliamWalker commented 5 years ago

Perhaps this is already an option, and I have been unable to find it. I have set up INTERSECTING_FEATURES method to run on the same field in a featureclass multiple times. For instance:

And

Ideally, I would like to see if the centroid of BuildingSpace intersects a feature in PolygonLayer, if so copy values, then see if it intersects PointLayer, and then if so, copy values from the first feature. However, regardless of how the rules appear in DynamicValue table, only one is executed. If one rule is weighted over the other, it appears that the higher weighted rule will run.

MikeMillerGIS commented 5 years ago

Try

PolygonLayer,PointLayer|Occupant|C|True

WilliamWalker commented 5 years ago

Thanks for the reply @MikeMillerGIS. This doesn't appear to work, as the newly created feature's centroid doesn't intersect the PointLayer. If both intersecting features are polygons, and the centroid intersects both, it works as expected. Any other suggestions?

Something like the following would be nice, but after looking at the source, I don't this is possible:

PolygonLayer,PointLayer|Occupant|C,F|True