Skip to main content

Hello all,

I have a line dataset that I used the transformer chopper to break it into its start and end points.

I now need to use the id of each of these points to add back onto the lines so I get a toPoint ID and a fromPoint ID on each line.

I have looked at PointOnLineOverlayer but can't see how to add the IDs back to the line.

Any assistance would be very much appreciated once again :)

Regards

Dean

Under attribute accumulation, choose generate list on output 'line' and select the attribute of the id that you want to transfer to the line. Then you can use the list values to create your fromPointID and toPointID attributes


Under attribute accumulation, choose generate list on output 'line' and select the attribute of the id that you want to transfer to the line. Then you can use the list values to create your fromPointID and toPointID attributes

Thanks @egomm, that is perfect.


Here is the solution that I found that worked for my issue. Thanks @egomm for your assistance.

I needed to remove duplicate points as chopper creates multiple points where lines meet.