Skip to main content
Question

How to eliminate small polygons to adjacent large polygon the same commune?


hoa_le
Contributor
Forum|alt.badge.img+5

I want to merge small polygon (<0.01) to adjacent large polygon same the same commune.

Could you tell me how to make it? Thank you

2 replies

Forum|alt.badge.img+2

@hoa_le​ The LeftRightSpatialCalculator might work if the red line in the image is a boundary or line you can use. If the red line is a boundary, then SpatialRelator might be what you need.


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • May 20, 2022

I don't have access to FME desktop right now, so the names/parameters might not be exactly right.

 

If you don't already have the commune as an attribute on your polygons use the SpatialFilter, SpatialRelator or Clipper to transfer that (merge attributes).

If you don't already have a unique ID (UID) use the counter to create one.

AreaCalculator on your polygons

Tester to separate your silver polygons (_area <0.01) from the rest of the layer.

SpatialRelator with the sliver polygons as the requestor and the rest of the polygons as the supplier. Group by Commune. in the Generate list, include UID and _area.

ListSorter on _relationship{}._area descending

ListIndexer to promote index 0 to regular attributes making sure that the UID from the List overrides the UID from the sliver.

Dissolver with the sliver polygons (ListIndexer output) and rest of polygons (tester output) group by UID.


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