Question

Update network lines with new points

  • 22 November 2019
  • 1 reply
  • 2 views

@takashi

Hello!

I'm having difficulty to update a network lines with new survey points. I want to shift each vertex point of a line (in red) with unique nearest point (black). Can someone help me please?

 

Thank you.


1 reply

Userlevel 4
Badge +13

Hi @sati27 An AnchoredSnapper will snap the line segments to the points but it looks like you might want to iterate through that a few times, gradually increasing the snapping distance until every point has been snapped to. If you want to actually move vertices instead of inserting new ones, then break the lines into segments with a Chopper and use End Point Snapping with the AnchoredSnapper. Also, see https://knowledge.safe.com/questions/94494/finding-the-closest-lines-close-to-gps-points.html

Reply