Skip to main content
Solved

Combine attribute tables

  • Nov 10, 2016 10:03 AM UTC
  • 3 replies
  • 82 views

Hello world of Safe!

A few transformers create objects with the following attribute tables 'Table 1' and 'Table 2'. The attribute 'ID' describes where A is B. I want to combine these tables like you see it in the picture under 'Goal'. First I thought I could merge them with the FeatureMerger, but after that the output just shows the four rows with the ids which exists in both tables.

Important: The ids in Table 1 exist in Table 2 in every case. It is not a coincidence!

Thank you for answers!

Best regards,

Felix

Best answer by ciarab

The feature merger should be okay to use but you may want to take the data coming from the different ports such as Not Merged to account for when a match was not found.

View original
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

ciarab
Contributor
Forum|alt.badge.img+10
  • Contributor
  • Best Answer
  • Nov 10, 2016 10:15 AM UTC

The feature merger should be okay to use but you may want to take the data coming from the different ports such as Not Merged to account for when a match was not found.


The feature merger should be okay to use but you may want to take the data coming from the different ports such as Not Merged to account for when a match was not found.

Sometimes you lose the sight of the wood for the trees. Thank you very much!

 


ciarab
Contributor
Forum|alt.badge.img+10
  • Contributor
  • Nov 10, 2016 10:38 AM UTC
Sometimes you lose the sight of the wood for the trees. Thank you very much!

 

I have done it myself!