Skip to main content
Question

How to compare attributes from unrelated connected line and point features

  • March 29, 2017
  • 4 replies
  • 31 views

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!

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • March 29, 2017

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.


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • March 30, 2017

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


  • Author
  • April 19, 2017

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.


takashi
Celebrity
  • April 21, 2017

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.