Skip to main content
Solved

Find the nearest line segment to a point with a couple common attributes?

  • October 13, 2023
  • 1 reply
  • 44 views

dewrightco
Contributor
Forum|alt.badge.img+4

I have a point array of addresses, and a line geometry layer of streets, and I need to be able to get the ID of the nearest line to the point that also has a couple matching attributes.

 

What are the best options to consider?

Best answer by nielsgerrits

One way to do this is to use the NeighborFinder. Points as bases, lines as candidates, 1 to find, group by the attributes that should match.

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.

1 reply

nielsgerrits
VIP
Forum|alt.badge.img+62
  • Best Answer
  • October 16, 2023

One way to do this is to use the NeighborFinder. Points as bases, lines as candidates, 1 to find, group by the attributes that should match.