Skip to main content
Question

Clone polygons based on list


deanhowell
Influencer
Forum|alt.badge.img+23

Hello FME gurus,

I have a polygon layer where some polygons overlap and I need to end up with a single polygon per label.

 

In the image above, I have three polygons, A, B and C (shown in green) but sections of each overlap i.e. B/C and A/C

I have converted the labels as attributes to the polygons and split the attributes into parts.

I want to be able to clone the overlapping parts and then merge based on the label i.e. A, B or C.

Any ideas would be very much appreciated.

Thanks

Dean

 

2 replies

erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • February 5, 2020

The cloning can be done using the ListExploder transformer.

That transformer duplicates the geometry for each element in the list.

Next the Dissolver (group by ElementLabel) would create your complete polygons.

Hope this helps.


deanhowell
Influencer
Forum|alt.badge.img+23
  • Author
  • Influencer
  • February 5, 2020
erik_jan wrote:

The cloning can be done using the ListExploder transformer.

That transformer duplicates the geometry for each element in the list.

Next the Dissolver (group by ElementLabel) would create your complete polygons.

Hope this helps.

Thanks @erik_jan, you are a champion, that worked perfectly :)

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings