Skip to main content
Question

Simplifying polygons with gaps


albinepro
Supporter
Forum|alt.badge.img+7

I have some floor plan DWG drawing with gaps (walls) between the rooms. The desired result is to make it simplified floor plan, i.e. keep just one line between the rooms.

obrazek.pngThere are hatches that forms the basic shape of polygons to begin with. So far I could get rid of gaps by buffering twice (positive and negative), dividing overlaps and dissolving small artefact sliver polygons to bigger ones. Later snapping the segments. The result is more or less satisfying, I just wonder if there's more elegant solution.

polygFor example the snapper (segment) doesn't maintain the orthogonality and makes "crooked" lines...

Thanks for any suggestions.

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+53

Perhaps the AreaGapAndOverlapCleaner and/or the AreaAmalgamator would be worth trying here.


albinepro
Supporter
Forum|alt.badge.img+7
  • Author
  • Supporter
  • June 9, 2023

I just gave it a quick shot. AreaAmalgamator dissolves the boundaries, I need to preserve the rooms (polygons) boundaries. But I haven't a clue about this transformer, good to know. AreaGapAndOverlapCleaner could be an alternative for cleaning once I use the Bufferer instead of calculating threshold on shapeform ratio, overlaying areas and dissolving slivers. Thanks for suggestions.


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