Skip to main content
Solved

Dissolve polygons into neighbouring polygons.


bjudes
Enthusiast
Forum|alt.badge.img+10

Hi,

I want to dissolve all polygons that are under 1.5m2 into neighbouring polygons. I have managed to merge the 1.5m2 polygons that only intersect one other polygon. But with regards the rest, I want them to dissolve into the largest polygon it intersects. For example, if a 1.5m2 polygon intersects a 100m2, 200m2 and 300m2 polygon I want it to always chooose the 300m2.

Thanks very much for any help.

Kind regards

B

Best answer by ebygomm

I'd use a spatialrelator to find the largest area that the small area was touching and then create a group_id which can be used as a group by option in the dissolver

 

dissolve_to_biggest.fmw

View original
Did this help you find an answer to your question?

4 replies

jonas_nelson
Enthusiast
Forum|alt.badge.img+19

Hi @bjudes

 

Working from home and don't have access to FME right now, but I'm thinking a SpatialRelator (to find the intersecting polygons), followed by a Sorter (by area) and a Sampler (to pick the first, i.e. the largest polygon) and then Dissolve?

 


ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • Best Answer
  • April 3, 2020

I'd use a spatialrelator to find the largest area that the small area was touching and then create a group_id which can be used as a group by option in the dissolver

 

dissolve_to_biggest.fmw


bjudes
Enthusiast
Forum|alt.badge.img+10
  • Author
  • Enthusiast
  • April 3, 2020

Hi @jonas_nelson @ebygomm

Thanks so much for this advice, I went with @ebygomm suggestion and it worked perfectly. I appreciate both your input.

Thanks

B


Forum|alt.badge.img+2
jonas_nelson wrote:

Hi @bjudes

 

Working from home and don't have access to FME right now, but I'm thinking a SpatialRelator (to find the intersecting polygons), followed by a Sorter (by area) and a Sampler (to pick the first, i.e. the largest polygon) and then Dissolve?

 

@jonas_nelson If you're working at home and want to use FME, apply for a home license: https://www.safe.com/free-fme-licenses/covid-19/

 

Include you company name and add "Unable to access my work license form home"

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