Question

AttributeKeeper keeps the attribute only for the first feature

  • 18 January 2022
  • 3 replies
  • 3 views

Hello,

I'd like to "remember" an attribute and use it to populate an attribute of another feature in the same execution.

I thought AttributeKepper would do the job (because of the name haha), but the value of the attribute is empty, except in the first pass through the breakpoint.

 


3 replies

Badge +20

Can you give us a more detailed example of what you would like to do? Maybe a sample of your work.

Userlevel 6
Badge +33

Do you want to use an attribute from a previous row? You can do this in an AttributeCreator using "Adjacent Feature Attributes":

AttributeCreatorParameters

Many thanks guys!

I have sorted it out. The problem was, I had 2 attributes / features going to the Supplier port of a FeatureMerger. Both come from an particular AttributeKeeper. The flow looked like this:

feature_merger1When I added a dedicated FeatureMerger for both, the behavior was as expected.

Thank you for your time!

 

Reply