Skip to main content

I appreciate that’s a wordy question. Hopefully, this pic will clarify. 

 

A and B - green polys, low detail at edge - are a dataset I am using to run into a SpatialFilter to determine areas of intersection with the more detailed dataset in pink (amber where there is overlap). 

You can see that part of the upper example polygon I have coloured part of area 1 in blue, and sits mostly inside A. The smaller, black part of 1 sits inside B. 

I want to join the entire area of the intersected polygon fully to the feature from the green dataset that contains the largest part of it - in this case, to A. 

Any ideas how best to proceed? I currently foresee: 

  • Check for intersection of area 1 with areas A & B
  • Calculate area of overlay
  • Test for largest
  • Join all of the area of 1 to A

    Feels like there may be a fair few transformers involved. It’s a national dataset. Just trying to figure out how best to do it. In Esri, I think there might be a simple option to ‘join to largest’…? (Not that I want to jump out of FME)

Ok, I’m thinking that lists may hold the answer.


Hi ​@p_c_20,

Thanks for the post!

From understanding your post I do believe there will be multiple transformers required to get to the correct result!
Here’s some transformers that should assist with the problem:
 

These should help with that you’re trying to achieve!
If you’re still having issues perhaps you could share your workspace and I could have a look into it and try resolve the issue!

Thanks!


Hi ​@p_c_20,

Thanks for the post!

From understanding your post I do believe there will be multiple transformers required to get to the correct result!
Here’s some transformers that should assist with the problem:
 

These should help with that you’re trying to achieve!
If you’re still having issues perhaps you could share your workspace and I could have a look into it and try resolve the issue!

Thanks!

Thanks Donal. Figured it out. I couldn’t get Statistics Calculator to pass through the attributes of the merged feature that related to the largest area, so I ended up building a set of lists and doing some manipulation on those.


Reply