Skip to main content
Question

Help with PointOnRasterValueExtractor : Getting band names

  • January 20, 2020
  • 3 replies
  • 24 views

yaze

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)

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • January 20, 2020

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.

yaze
  • Author
  • 1 reply
  • January 21, 2020

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 ?


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • January 21, 2020

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)