Skip to main content
Question

What transformer should I use to sort existing features of one attribute into specific categories (features in a new attribute)?

  • April 10, 2023
  • 1 reply
  • 11 views

For example, I have a "Description" attribute, and I want to create a new attribute called "Categories". Features in the description attribute containing the word "gardening", for example, would go into the "Gardening" feature type of the new attribute.

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+54
  • Celebrity
  • April 10, 2023

You could use a conditional statement in an AttributeCreator or AttributeManager. These will allow you to do a "contains". Or you could use an AttributeValueMapper but this will only allow you to do an "equals"


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