Skip to main content

imageThe above image should explain the issue.

 

I have tried AreaGapAndOverlapCleaner which fills the donut and dissolves with 1 of the polygons (I have chosen the polygon with the longest boundary at present), which results in below.

 

imageThis is ok but ideally I want the donut evenly split across both polygons. Is this possible?

 

Can anyone recommend a transformer or number of them to get my required output?

Solution depends on the data. For simple shapes like your example, you can just use the line from the hole, associate it with the source features and close it. See the added sample workspace

 

If the shape of the hole is more complex, like a "C", this will cause self intersections.

If the hole has more then 2 features surrounding it, other issues arise.


Reply