Skip to main content
I hav a set of points (948). I need to connect all points to all points ([P1,P2; P1,P3;...P1,P948], [P2,P1; P2,P3...P2,P948]...[P948,P1,...P948,P947] and so on). Would be great if I could keep the attributes too. Any ideas? We have connected to sets of point before trough cloning.  I tried to understand the answers to "Connect all From points to all To points in FromToBuilder" but my lack of experience makes it difficult to make thie suggested workflow.
Hi,

 

 

I have not understood the question...

 

Does that mean Point1 should connect with Point2 with Line?

 

 

Pratap
Pratap,

 

All points shold have  connection with a line to each other. All points should have 947 connections in the end.

 

Regards Caroline
Hi Caroline,

 

 

I understood that the input point/s should connect to remaining points in the input with a line.

 

 

I have taken 11 points as input and performed with the below script...

 

 

 

 

Kindly check from your end.

 

 

Hope it meets your requirement...

 

 

Pratap
If you want to connect all poijnts to all points in 1 set of points.

 

 

Use a featuremerger with supplier=requestor= 1 (or any value)

 

Proces duplicate supliers, and enter a listname.

 

 

CoordinateExtractor on both before u feed them to the merger. Give for instance the Supplier points S_x,S_y and Requstor points R_x,R_y.

 

 

Explode list after that.

 

Then two Vertexcreators, one "create point" and other "add point"

 

 

 

 

 
Thank you Gio and Pratap!

 

I will try this!
Hi,

 

 

Another approach using the NeighborFinder of FME 2015.0+.

 

If you set "0" to the "Number of Neighbors to Find" parameter and specify the "Close Candidate List Name", the NeighborFinder (Candidates Only mode) collects every neighbors and creates a list containing their coordinate values.

 

 

# The NeighborFinder could be relatively efficient.

 

 

Takashi

Reply