Skip to main content

Hello,

 

I have a feature class from an geodatabase that contains larger and smaller features that overlap one another. I sort these features to have the larger features come before the smaller features.

 

The attributes of the feature class are: Id and date

 

The goal is to union the smaller and larger overlapping features, but only keep the attributes of the larger overlapping features. Since there is one feature class the overlapping areas share the same attribute names.

 

Therefore, I use the AreaOnAreaOverlayer transformer, with accumulation mode set to Use Attributes From One Feature.

AreaOnAreaOverlayer Settings 

However, I am unsure of the behavior of Use Attributes From One Feature accumulation mode. Which attributes are copied over to the resultant feature when the overlapping features are unioned?

 

The document mentions the following for the Use Attributes From One Feature accumulation mode: "Takes all attributes from one representative feature"

 

How does the AreaOnAreaOverlayer determine which of the overlapping features is the representative feature?

 

Thanks for taking your time to read this post.

@alanl​  I wouldn't rely on the ordering of the features. In simple cases I think it would be the first feature, if there was only one overlap, but this probably breaks down if there are other overlapping areas.

I would use Generate List. Then sort the list by the area of the features (ListSorter) and use the first list elements as the attributes you need (ListIndexer)


Thanks @Mark Stoakes​ ! I ended up taking your advice by using the generate list feature in the areaonareaoverlayer transformer and identifying the unique combinations extracted from the _relationships list for the ID attribute, if there were more than 1 overlap. Finally, identifying the area which is larger connected to the ID and extracting the attributes of that feature.


Reply