Skip to main content
Solved

Align to edge - Polygons

  • February 24, 2016
  • 5 replies
  • 39 views

danilo_fme
Evangelist
Forum|alt.badge.img+41

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.

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an idea that has been implemented, or just no longer relevant.
If you have a follow-up or related question, 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+30
  • Influencer
  • February 24, 2016

Have you looked at the anchored snapper?


danilo_fme
Evangelist
Forum|alt.badge.img+41
  • Author
  • Evangelist
  • February 24, 2016
ebygomm wrote:

Have you looked at the anchored snapper?

@egomm Hi, thanks i will test with AnchoredSnapper.


geosander
Forum|alt.badge.img+7
  • February 25, 2016
danilo_fme wrote:

@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
  • 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+41
  • Safer
  • 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.


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