in order to find the values 1, 2 , 4, 256, 512 and 1024 in a bitmask, I created 6 ExpressionEvaluators, all writing to a different attribute. The Expression is of the kind '@Value(BLOCKAGE_MASK) & 1'.
Although, it perfectly does what I intend to, I have the feeling that it is quite laborious, handling all these extra attributes.
So, just to improve my skills: is there a better way to resolve bitmasks in FME? I was thinking about creating a list of all the values of the bitmask. For example, 771 would return a list with elements 1, 2, 256 and 512. A ListSearcher could be used afterwards.
I can't find a dedicated bitmask transformer through documentation, nor on the forum here. But that is moslty the toughest part in FME.
Any advice would be welcome, probalbly also for future reference.
best regards,
Jelle