If you use the neighborpair finder, then the outer blue line will only find pairs if the range is equal or larger then the distance between the outer red and outer blue line. ( as the help says..."
If no, or only one, Candidate feature is found to be within the maximum distance, then the Base feature will be output unchanged via the UnmatchedBase port.")
Best to build an iterative neighborfinder, with keep candidates ex_or base option.
You can set the max distance to a large value and add a list to the results see attribute accumulation section in the NeighborFinder.
Naturally the number of neighbors to find should be more than 1.
You can then explode the list elements or search in the list for more neighbors.
Hope this helps, Itay
If you use the neighborpair finder, then the outer blue line will only find pairs if the range is equal or larger then the distance between the outer red and outer blue line. ( as the help says..."
If no, or only one, Candidate feature is found to be within the maximum distance, then the Base feature will be output unchanged via the UnmatchedBase port.")
Best to build an iterative neighborfinder, with keep candidates ex_or base option.
but when i have only set of two: blue and red lines (not 4 like in the picture) NeighborPairFinder doesn't find any neighbor... I changed the range a lot.
@tram
Hi I tried your setup with the neighborpairfinder.
And get same result as you do. It will only do 1 base in this setup.
Because the separation angle is the limiter?
If you use a second neighborpairfinder on the unmatchedbase with a negative separation angle, it will match it. (though only to closest line twice ?!?.)
Don't know if this is intended behavior....maybe safe can say?
You need 2 neighborfinders for to do it. Or a iterative NBF with options.
You can set the max distance to a large value and add a list to the results see attribute accumulation section in the NeighborFinder.
Naturally the number of neighbors to find should be more than 1.
You can then explode the list elements or search in the list for more neighbors.
Hope this helps, Itay
It could be a good idea but for my data not enough becouse my lines are composed of many smaller ones so it looks in many places like this:

<br><div></div>maybe is it possible to ask the condition to look for neighbors on the left and right side?
That can be solved by making a (nested) custom transformer to iterate neighbor finding.
One can then have options: "keep Candidates" and/or "Keep bases". In case "and" you can control the iteration count.


(is what I did anyways). I use it very often.
Safe should built a general one.
A
That can be solved by making a (nested) custom transformer to iterate neighbor finding.
One can then have options: "keep Candidates" and/or "Keep bases". In case "and" you can control the iteration count.


(is what I did anyways). I use it very often.
Safe should built a general one.
A
interesting... but where did you get this transformer from? I can not find it anywhere..