Skip to main content

As the title says, I have two different point feature classes, and then a table in the geodatabase. 

 

Point A has a unique field value that matches from the point to a record in the table and then, that record in the table has a unique value that matches to Point B. I want to use this “connection” and the vertexcreator transformer to create a line from Point A to Point B, for situations where they match, but I am stuck at the moment and can’t seem to connect the dots. Pun intended. 

I would use a FeatureMerger between Point A feature class and the table, using the unique value to merge. Configured correctly, this will put the unique value that matches the Point B feature class on the Point A features. From there you can use another FeatureMerger between Point A feature class and Point B feature class to get both coordinates onto one feature, and then into a VertexCreator.


One way to do this:

create group id”s in the match table using a counter

merge the group id”s to the points a using a featuremerger

merge the group id”s to the points b using a featuremerger

feed both point sets to a pointconnector, set it to group by group id it will connect points with the same group id


Reply