Skip to main content
Question

Move points onto close lines.

  • January 7, 2013
  • 3 replies
  • 51 views

Hello,

 

 

I'm having  point features, which are placed near lines and I need to move them onto the lines.

 

 

I used the neighborFinder so I know a distance between the points and the lines, but I can not find how to displace the points so they touch the lines.

 

 

Thank you for your advices!
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.

3 replies

fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • January 7, 2013
Hi,

 

 

I would make use of the attributes computed by the NeighborFinder ( _closest_base_x, _closest_base_y and _closest_candidate_x, _closest_candidate_y ) in the Offsetter.

 

 

Hope this helps,

 

Itay

davideagle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • January 7, 2013
An alternative method would be to use the AnchoredSnapper. Pass your lines into the Anchor port (won't move) and your lines into the Candidate port (will move). Your points will snap to the nearest nodes so you may want to use the Densifier on your lines first to give your points a better snap accuracy.

 

 

Hope that helps, Dave

  • Author
  • January 8, 2013
Thanks Dave, I tried your method 100% easy and effective!