Skip to main content
Question

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

  • July 20, 2017
  • 4 replies
  • 218 views

sofia
Contributor
Forum|alt.badge.img+5

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Celebrity
  • 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+26
  • 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
Celebrity
  • 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.