Skip to main content
I have a raster (double) that has positive and negative values and want to query it - but have been unable to find the correct syntax when using the RasterExpressionEvaluator with multiple clauses.

 

 

When I want just the cells that are positive, I only have one clause (line), which works fine:

 

 

 

However, if I only want the cells between zero and, say, 0.1, I need two clauses (lines), and the following does not work. It actually gives the same answer as the first picture above - as if the second clause made no impact at all:

 

 

What am I missing? I am using the latest FME Beta (Build 15208)

 

 
The example you showed should actually produce two bands, one with the first clause, and the other with the second clause.

 

 

You need both clauses in one line:  AÂ0]>0.0 && A;0]<0.1
perfect! thanks

Reply