Skip to main content
Solved

Hi, I have two line features and would like to update an attribute on feature "A" from feature "B" if they are intersected to each other, is there any specific transformer or work flow fo this task?

  • August 31, 2023
  • 4 replies
  • 37 views

image

Best answer by DanAtSafe

Hi @arashjazini​ Every value for _related_candidates is 0, which means that none of the Requestors pass the spatial predicate. Either change that or else you'll need to change the geometry with a LineExtender, Snapper or AnchoredSnapper.

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

DanAtSafe
Safer
Forum|alt.badge.img+21
  • Safer
  • September 1, 2023

Hi @arashjazini​ You can use a SpatialRelator with the "Requestor OGC-Touches Supplier" Spatial Predicate. Be sure to enable Merge Attributes and use the default "Merge Supplier" Accumulation Mode.

image


  • Author
  • September 1, 2023

Hi Dan, Thank you for you answer!

The transformer output missing some values , any ideas?

image


DanAtSafe
Safer
Forum|alt.badge.img+21
  • Safer
  • Best Answer
  • September 1, 2023

Hi @arashjazini​ Every value for _related_candidates is 0, which means that none of the Requestors pass the spatial predicate. Either change that or else you'll need to change the geometry with a LineExtender, Snapper or AnchoredSnapper.


  • Author
  • September 11, 2023

Hi @arashjazini​ Every value for _related_candidates is 0, which means that none of the Requestors pass the spatial predicate. Either change that or else you'll need to change the geometry with a LineExtender, Snapper or AnchoredSnapper.

Thanks for the help Dan!