I have a scenario where I have to apply an expression to a raster that is more complicated than can be captured by the RasterSingularCellValueCalculator, but the RasterExpressionEvaluator is complicated because a) there are a lot of bands and b) I don't know in advance the number of bands.
My current workaround is to use a RasterBandSeparator, RasterExpressionEvaluator (using A[0]), RasterBandCombiner sequence.
Bonus points if the expression can reference a list attribute with the list index corresponding to the band number.
Side note, @Value(A:_list{0}.x) works fine in the RasterExpressionEvaluator, but @Value(A:_list{@Value(A:_index}.x) fails to parse.
Archived
RasterExpressionEvaluator single equation for all bands
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.
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.
Login to the community
No account yet? Create an account
An FME Account is required to contribute
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.

