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
  • 52 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

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+32
  • 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
wind wrote:

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.


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