Skip to main content
Question

Needing to create a line between two points that have a key tie


jdnewell
Contributor
Forum|alt.badge.img+3

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. 

2 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • February 23, 2024

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.


nielsgerrits
VIP
Forum|alt.badge.img+55

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings