Skip to main content

What I'm trying to do is create a line between the 2 weld points that share a common JOINT_AHEAD or JOINT_BEHIND common attribute and set the attributes of the created line from the corresponding JOINT_AHEAD_HEAT or JOINT_BEHIND_HEAT common attribute value.

I've been experimenting with the neighborfinder, vertex creator, and the linebuilder, but was unsure of the way to go about this.

An example below of the lines I would like to create between the points.

Any suggestions would be greatly appreciated.

Thanks,

Chris

You can use the FeatureMerger transformer (requester joint_ahaed = supplier joint_behind) and use this setting:


You can use the FeatureMerger transformer (requester joint_ahaed = supplier joint_behind) and use this setting:

@erik_jan Maybe I'm overlooking something. I went back and made sure that the points are collected with JOINT_AHEAD in one direction, then set the feature merger to build lines from points. After inspecting it, the lines aren't built. Any idea of what I have set incorrectly?

 

 

test-pipeline-connect.csv

 


if you are looking for the proximity of the points to a line please use PointOnLineOverlayer . this will help you extract the line information and add it to the point. To draw a line between the points use point connector but they need to be in a good order to avoid the spaghetti effect


if you are looking for the proximity of the points to a line please use PointOnLineOverlayer . this will help you extract the line information and add it to the point. To draw a line between the points use point connector but they need to be in a good order to avoid the spaghetti effect

But the best is to have your workspace in hand

 

 


Hi @madwarren, the FeatureMerger builds line from multiple suppliers (points) if they were merged to a requestor feature, but it won't connect a supplier point and a requestor point unfortunately.

In your case, after the first VertexCreator and the FeatureMerger (Feature Merge Type: Attributes Only, Accumulation Mode: Prefix Supplier), you can add a vertex to the merged feature to form a line segment using another VertexCreator (Mode: Add Point, X: prefix_Longitude, Y: prefix_Latitude).


You can use the FeatureMerger transformer (requester joint_ahaed = supplier joint_behind) and use this setting:

@madwarren Sorry about that (I was not aware of this), but @takashi is right. Only Suppliers are merged into a line. So what seemed like a nice solution does not work in your case unless you can use the start point as Requester and both start and end point as Supplier.

Hi @madwarren, the FeatureMerger builds line from multiple suppliers (points) if they were merged to a requestor feature, but it won't connect a supplier point and a requestor point unfortunately.

In your case, after the first VertexCreator and the FeatureMerger (Feature Merge Type: Attributes Only, Accumulation Mode: Prefix Supplier), you can add a vertex to the merged feature to form a line segment using another VertexCreator (Mode: Add Point, X: prefix_Longitude, Y: prefix_Latitude).

That worked perfectly @takashi ! Thank you and everyone else for helping.

Reply