Skip to main content
Question

Hello, I need to add two vertex (points) to one polygon. I need to join them to the nearest vertex of this polygon.

  • November 13, 2020
  • 4 replies
  • 80 views

wind

I need to add two vertex (points) to one polygon. I need to join them to the nearest vertex of this polygon.  I have this:

dataAnd I need this result:

resultThank you

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

david_r
Celebrity
  • November 13, 2020

You could try using the AnchoredSnapper in mode Vertex Snapping. The points are the Anchors and the polygon is the Candidate. Note that the snapping distance is specified in ground units relative to your coordinate system.


wind
  • Author
  • November 13, 2020

Thank you very much.

I try the AnchoreSnapper but it doesn't work like I need. The distance I specifie is 13200 but it joins the vertex of 22000. Is it possible to join the nearest vertex, without the distance?

result1


ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • November 13, 2020

I don't think the anchored snapper will work here because it will move the corner vertices rather than add additional vertex. I'd use the neighbourfinder to find the closest point on the polygon then a vertex creator to create a line from point to polygon, separately i'd create a line between your two points and then a line combiner and line closer followed by a dissolver

Capture


david_r
Celebrity
  • November 13, 2020

Thank you very much.

I try the AnchoreSnapper but it doesn't work like I need. The distance I specifie is 13200 but it joins the vertex of 22000. Is it possible to join the nearest vertex, without the distance?

result1

Yup, @ebygomm​  is right, the AnchoredSnapper isn't the right tool here. My mistake.