Skip to main content
Solved

Retrieve an attribute value from another shape in the same workspace ?

  • January 24, 2018
  • 3 replies
  • 19 views

Forum|alt.badge.img

In a workspace, I retrieve by spatial relation (AreaOnAreaOverlayer followed by a Sampler, SpatialRelator after InsidePointReplacer, ...) an attribute value in a table and a shape that have nothing to do with the table and the source shape.

 

So I create a second workspace in which I retrieve the previous attribute value in the table and the original shape by a Joiner.

 

 

How can I do this in one workspace?

Best answer by takashi

Hi @40_eme, if the table and the shape have a common attribute that can be used as a join key, the FeatureMerger might help you.

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.

3 replies

takashi
Celebrity
  • 7843 replies
  • Best Answer
  • January 24, 2018

Hi @40_eme, if the table and the shape have a common attribute that can be used as a join key, the FeatureMerger might help you.


Forum|alt.badge.img
  • Author
  • 14 replies
  • January 24, 2018

Thank you Takashi, it's perfect.


dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • 629 replies
  • January 24, 2018

Thank you Takashi, it's perfect.

There is also a custom transformer in the FME Hub, Unconditional FeatureMerger. It merges attributes regardless of a join key. I use it all the time for situations like you are describing.