Skip to main content
Solved

Custom transformer propagating more attributes than desired


Forum|alt.badge.img

I have defined a custom transformer, and it is outputting more attributes than what I want. I just want to output these two attributes (network_id and lower_network_id):

 

But when using it in the main workbench, it is also outputting attributes from the original input features:

 

I assume this is is because they automatically propagate all source attributes forward, but I want to avoid this, I just want the two-column list. How can I achieve this?

Best answer by takashi

Try inserting the AttributeKeeper before the output port to keep only required attribute.

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

2 replies

takashi
Influencer
  • Best Answer
  • December 9, 2018

Try inserting the AttributeKeeper before the output port to keep only required attribute.


Forum|alt.badge.img
  • Author
  • December 9, 2018
takashi wrote:

Try inserting the AttributeKeeper before the output port to keep only required attribute.

This works, thanks.


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