Skip to main content
Question

Finding gaps in a polygon layer - help needed to create basic translation


sofia
Contributor
Forum|alt.badge.img+5
  • Contributor

Hi!

I need help creating a basic translation for identifying and writing to shapefile the gaps between polygons on one layer. I don't know how to begin!

I really appriciate some tips on what transformers to use and how to configure them too look for the gaps that are millimeters in size. I dont need the translation to repair the gaps, I just want to find them to investigate myself.

4 replies

danilo_fme
Evangelist
Forum|alt.badge.img+43
  • Evangelist
  • July 20, 2017

Hi @sofiamvalentin, could you send a example of your polygons? You can try to use the transformer AreaonAreaOverlayer to find ( with Tester ) the polygons are not touching. And try to use transformers Snapper or AnchoredSnapper to have a good solution.

Danilo


erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • July 20, 2017

To find all gaps you can create a bounding box of all polygons (BoundingBoxAccumulator).

Then feed all polygons and the bounding box to the AreaonAreaOverlayer.

Then use a Tester (_overlaps = 1) to get the gaps (they should only have the bounding box at that location).


Forum|alt.badge.img
  • July 21, 2017

Finding gaps and overlaps is quite simple.

Please see the attached workbanch.find-gaps-overlaps.fmw

 


takashi
Influencer
  • July 21, 2017

Firstly repair the polygons to resolve the gaps (Snapper or SliverRemover), dissolve them to form a single large polygon (Dissolver), and then clip the large polygon by the original polygons (Clipper). I expect that the resulting features output from the Outside port of the Clipper would be narrow polygons that represent the gaps between the original polygons.


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