Skip to main content
Question

How to iteratively merging rings


chau
Contributor
Forum|alt.badge.img+3
  • Contributor

I have a set of polygons resembling the Towers of Hanoi (I have many towers with varying rings but only included one tower here):

I would like to start with the polygons which doesn't have any holes and which are holes in other polygons (in this case I only have the small one in the center) and dissolve it with the polygon in which it is a hole. I would like to repeat this until the dissolved area is larger than some threshold (here 30).

Can I do this in FME 2016?

I have attached a shape file with the data set above.

3 replies

takashi
Evangelist
  • May 4, 2018
The Dissolver can dissolve those rings at once and form a single large polygon. Why do you need iteration?

 

 


chau
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • May 4, 2018
takashi wrote:
The Dissolver can dissolve those rings at once and form a single large polygon. Why do you need iteration?

 

 

I need it because of the combined dissolved area threshold, at least I think I need it.

takashi
Evangelist
  • May 4, 2018

Hi @chau, if all the rings are donuts, remove hole from them, calculate area for each, then select one which has the maximum area within the threshold. I think it would be your desired result. This is an implementation example.


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