Skip to main content
Solved

Align to edge - Polygons

  • February 24, 2016
  • 5 replies
  • 70 views

danilo_fme
Celebrity
Forum|alt.badge.img+51

hello all,

In my situation i have two polygos that aren`t both allignment :

My question is: has a transformer that use one polygon like refference to make the allign to edge another?

Thanks in Advance,

Danilo de Lima

Best answer by mark2atsafe

Try the SliverRemover. It will fill in the hole and assign the fill to either or both of the adjacent polygons - with various options as to which polygon it gets assigned to. It's a very good - and very little used - transformer.

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.

5 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3434 replies
  • February 24, 2016

Have you looked at the anchored snapper?


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Author
  • Celebrity
  • 2077 replies
  • February 24, 2016

Have you looked at the anchored snapper?

@egomm Hi, thanks i will test with AnchoredSnapper.


geosander
Forum|alt.badge.img+7
  • 327 replies
  • February 25, 2016

@egomm Hi, thanks i will test with AnchoredSnapper.

The AnchoredSnapper that @egomm proposes works nicely if the vertices of both polygons are fairly close to each other.

The purple shape in your image looks as if it's an area that was drawn using arcs (1 point with a vector and curvature), which means that there might only be a few vertices that can be snapped. In that case you'd need to use an ArcStroker first on the purple polygon, which will get rid of the arcs and introduce more vertices.

Another option would be to use an AreaOnAreaOverlayer (and a Tester to remove the overlapping parts) in combination with a SliverRemover to get rid of the remaining holes.


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • 2252 replies
  • February 25, 2016

Is it not simpler to just create a hull out of the pollygons (both together ).

Then cut this hull by the reference polygon.

Then clip the result by the (for instance) buffered edge of the target polygon.

And then lastly merge the target polygon with the clipped inside parts.

btw if you're gonna use snapping, then you might want to use it in segmentsnapping mode. ( sometimes you may need to use densifier for better result).


mark2atsafe
Safer
Forum|alt.badge.img+57
  • Safer
  • 2554 replies
  • Best Answer
  • February 25, 2016

Try the SliverRemover. It will fill in the hole and assign the fill to either or both of the adjacent polygons - with various options as to which polygon it gets assigned to. It's a very good - and very little used - transformer.