Skip to main content

I have a point feature class and a linear feature class in the same SDE database. I need to compare a common attribute between the two feature classes for each case they are connected.

Any help would be greatly appreciated!

I would try the SpatialRelator transformer (group by attribute to test and spatial test TOUCHES).

If the line is the requester and the points the supplier this will list all line-point combinations with matching attributes.


Hi @sorene30, I would use the PointOnLineOverlayer transformer and prefix the results to be able to compare the attributes.


Hello, I ended up using the SpatialRelator with the Touches test, however, I had to add a Tester after the SpatialRelator with the following Test Clause: "_related_candidates > 1". Once I filtered out the unrelated cases, I added a ListExploder so I could use another Tester.


Hi @sorene30, if you just need to test whether a point touches a line, the SpatialFilter could also be used. Send the lines to the Filter port, send the points to the Candidate port.


Reply