I have two sets of points. I'd like to draw lines between all the points that share the same value of a defined attribute (from one set of point to the second). Is there a way of doing that ?
thank you in advance for your help
I have two sets of points. I'd like to draw lines between all the points that share the same value of a defined attribute (from one set of point to the second). Is there a way of doing that ?
thank you in advance for your help
2 - Add a "PointConnector (http://docs.safe.com/fme/html/FME_Transformers/Default.htm#Transformers/pointconnector.htm%3FTocPath%3DFME%20Transformers%7CAll%20Workbench%20Transformers%7C_____300)" and set the Connection Break Attribute
Your points with the same attribute will now have a line feature between them.
I suggest following routine:
U must relalet/link the two datasets grouped by the connectionattribute.
First extract coordinates. (name them differently)
Create a common link-attribute (i use Linkall=1) on both sets and use featuremerger grouped by connectionattribute. Use list for udplicates and explode after merge.
Now u got coordinates to link.
Use vertexcreators, 1 to replace and on to add.
Now all objects from one set are connected to other set by connection attribute.
If u have some rule to pair them u could do that too of course.
Here adresses from 2 neighboorhoods are linked based on their use.
(i used a sample set, else it will be too large for pic)