Skip to main content
Hi,

 

 

I would like to use the FeatureColorSetter with the 5 color options but I woud like to group the feature by an attribute.

 

 

Unfortunately there is no Group by option in this transformer. Is there a way to group (or fetch) the features by an attribute with other transformers before the FeatureColorSetter.

 

 

Except the AttributeFilter, I dont have any idea. The problem with the AttributeFilter, is that there is more than 60 groups in the dataset, and linking all the groups is not really elegant.

 

 

Thank you for your help,

 

Max Demars

 

Hi Max,

 

 

I created this image a few weeks ago for other thread, but this might be also useful in your case. The points are:

 

- create features having color  (5 features in your case?)

 

- merge color properties to input features using group name as join key

 

- set color to features.   The necessary condition is that every feature has an attribute corresponding to a color like group name of this example.

 

Hope this helps.

 

Takashi

Reply