You could probably use the RasterBandPropertExtractor to get a list of band names and then rename the attributes so that _band{n}.value becomes @Value(_band{n}.band_name).
However exposing the attributes so they are present on the canvas can't be done dynamically.
You could probably use the RasterBandPropertExtractor to get a list of band names and then rename the attributes so that _band{n}.value becomes @Value(_band{n}.band_name).
However exposing the attributes so they are present on the canvas can't be done dynamically.
Tried to do that but couldn't figure exactly how to. Can you explain more ?
I'd resort to python for the renaming step (you could explode, create an attribute from the band name and set it to the band value and then re-aggregate)