Skip to main content
Question

Loop transformer to combine information

  • June 2, 2026
  • 0 replies
  • 18 views

lvb
Observer
Forum|alt.badge.img

I have a database of spatial information (points, lines and areas), this database needs to become all points, the issue is that there is a big overlap in data. What I am trying to do, is see if any lines are already matched by Project nr and location (can be not exactly the same location) to existing points. If this is the case, then I want to copy missing information to the points and disregard the line after. For the other lines I will turn them into points after. 

The issue is that I tried to match them using a NeighborFinder, when using the lines as base and points as candidate, I was unable to extract the points after with the missing info filled in. However when I used them with points as base and lines as candidates, I had a lot more lines left over. With a manual loop this amount decreased, so I am trying to do a loop transformer. As this is the first time I am unsure of where I am going wrong. I added a counter to see how many features are left and the tester is than to compare with the previous count, so if there are no changes it should end.

The screenshot below is my manual try of what I had in mind.