Skip to main content
Open

RasterExpressionEvaluator should have math functions like @max and @min

Related products:Transformers
  • June 10, 2020
  • 5 replies
  • 56 views

jdh
Contributor
Forum|alt.badge.img+40

It would be nice if the RasterExpressionEvaluator would include math functions like @max(A[0],A[1],A[2]) similar to the expressionEvaluator

5 replies

jkr_wrk
Influencer
Forum|alt.badge.img+36
  • September 14, 2020

I would also like to have a @round function. Now I use @int32(A[0]*1000)/1000 but @round(A[0],3) would be better.


jkr_wrk
Influencer
Forum|alt.badge.img+36
  • September 14, 2020

There is also a bug here. When you choose @floor it puts in @floor(<float>,<precision>) but giving a precision gives an error, that @floor only takes one parameter. Also: (The 'ceil' function requires 1 argument(s), but was provided with 2 argument(s))


jdh
Contributor
Forum|alt.badge.img+40
  • Author
  • Contributor
  • February 10, 2021

I just hit a requirement for rounding in the RasterExpressionEvaluator. Thanks @jkr_da for your workaround.


LizAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • February 10, 2024
The following idea has been merged into this idea:

All the votes have been transferred into this idea.

jdh
Contributor
Forum|alt.badge.img+40
  • Author
  • Contributor
  • December 10, 2025

5 years later I’m still running into needing a round and max function in the RasterExpressionEvaluator.