Skip to main content
Solved

neighbor finding based upon location and attributes

  • August 13, 2015
  • 1 reply
  • 8 views

tva
Contributor
Forum|alt.badge.img+12
  • Contributor
Hi all,

 

 

This is the situation: I have 2 lines (red and green) and a lot of points who should be matched to one or 2 of the lines. This works fine with the neighbourfinder but only in the cases where the lines aren't equal to each other. In the cases 16-3, 7-6, 8-5 and 9-4 the points who should be matched are on the same location and the lines are at that spot also equal to each other (I know it's a bad drawing but otherwhise it would be confusing :) )

 

 

If I do this with the neigborfinder (combined with list exploder) I get too much information (I'll explain with 1 point as its the same case for all points) in scenario 8-5 (circled in blue) I get information on point 8 from the red and green line and in point 5 I also get information on the red and green line while the situation I want to get is red information on point 8 and green information on point 5.

 

 

I need to find a way to get the right information out of it. I need to find a way to check in the neighborhood of point 8 to a point where the id is 1 higher or lower so that I can check which information is present in that point to see if it's equal

 

 

All tips and tricks are welcome :)

 

 

VAT

Best answer by david_r

Hi

 

 

The NeighborFinder can give you a list of all the "close candidates", i.e. all the lines that are within the maximum distance of each point. You need to specify an attribute name for "Close Candidate list name" in the NeighborFinder so that you can analyze the contents.

 

 

You might also want to switch the Base and Candidate features around, so that you look for all the points close to each line. It should be easier to check for incrementing series that way (hint: ListSorter).

 

 

David
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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

david_r
Celebrity
  • Best Answer
  • August 13, 2015
Hi

 

 

The NeighborFinder can give you a list of all the "close candidates", i.e. all the lines that are within the maximum distance of each point. You need to specify an attribute name for "Close Candidate list name" in the NeighborFinder so that you can analyze the contents.

 

 

You might also want to switch the Base and Candidate features around, so that you look for all the points close to each line. It should be easier to check for incrementing series that way (hint: ListSorter).

 

 

David

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