Skip to main content

Hello,

I am overlapping a set of points on a combined raster from 200 previous ones and then exposing obtained values as attributes. However I want to get the attribute names as FME_Basenames (fig 2) and not as shown in (fig 1). Is there somehow how to to do ? Thank you very much

(fig.1)

(fig.2)

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)


Reply