Hi. I am using neighborFinder to align the points to the closest line segment. Points are connected to the Base, and lines are Candidates. I have also merged candidate Attributes. I am trying to join the Line segment from NeigborFinder with the original line dataset to get the closest line, but I am getting point geometry. is there a way to retrieve the line segment from the neighborFinder output? Thanks!
Solved
NeighborFinder
Best answer by takashi
Hi
If you need to find line features that are close to a Base point found by the NeighborFinder, a quick way I can think of is:
- Counter: Add sequential number as temporary ID attribute to the Candidate line features before the NeighborFinder, if they didn't have unique ID attribute.
- FeatureJoiner: Send the features output from the UnmatchedCandedate port of the NeighborFinder to the Left port, send the original line features to the Right port, and join them on ID. Then, line features that were close to a MathcedBase point will be output from the UnjoinedRight port.
Hope this helps.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.