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)
Best answer by jdh
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
Did this help you find an answer to your question?
<strong>This post is closed to further activity.</strong><br />
It may be a question with a best answer, an implemented idea, or just a post needing no comment.<br />
If you have a follow-up or related question, please <a href="https://community.safe.com/topic/new">post a new question or idea</a>.<br />
If there is a genuine update to be made, please contact us and request that the post is reopened.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.