Have a look at the AreaonAreaOverlayer transformer.
That is built for cases like this.
You might want to try the MaxOverlappingFeatureMerger transformer from the FME hub.
Another way to do a max area based spatial join is to use a clipper>sort it by descending area>filter the duplicates. So,
1. Clipper (Merge Attributes) - Clipper: red polygon building
2. AreaCalculator (from Inside port)
3. Sorter - _area by Numeric, Descending
4 DuplicateFilter - by unique id of building
So from the Unique port you should have the parcel (by largest area) attributes attached
Another way to do a max area based spatial join is to use a clipper>sort it by descending area>filter the duplicates. So,
1. Clipper (Merge Attributes) - Clipper: red polygon building
2. AreaCalculator (from Inside port)
3. Sorter - _area by Numeric, Descending
4 DuplicateFilter - by unique id of building
So from the Unique port you should have the parcel (by largest area) attributes attached
Good suggestion. In addition, if you need to preserve the original geometry of the building, you can use a pair of GeometryExtractor (before Clipper) and GeometryReplacer (after DuplicateFilter) to save and restore the geometry.
Another way to do a max area based spatial join is to use a clipper>sort it by descending area>filter the duplicates. So,
1. Clipper (Merge Attributes) - Clipper: red polygon building
2. AreaCalculator (from Inside port)
3. Sorter - _area by Numeric, Descending
4 DuplicateFilter - by unique id of building
So from the Unique port you should have the parcel (by largest area) attributes attached
Thanks, this accomplished what I needed