Question

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

  • 10 April 2023
  • 1 reply
  • 3 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

Userlevel 5
Badge +29

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"

Reply