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?


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.

View original
Did this help you find an answer to your question?

4 replies

DanAtSafe
Safer
Forum|alt.badge.img+18
  • 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+18
  • 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
DanAtSafe wrote:

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!


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