0

Could you please explain the meaning of this equation:

(b1 le 0) * 0 + (b1 ge 10000) * 1 + (b1 gt 0 et b1 lt 10000) * float (b1) / 10000 b1.

What do ge, gl etc mean?

3
  • ge means "greater or equal" (i.e. >=)
  • gt means "greater than" (i.e. strictly greater, >)
  • le means "lower or equal" (i.e. <=)
  • lt means "lower than" (i.e. strictly lower, <)

et is probably a mistake (French for and).

| improve this answer | |
1

These are relational Operators. See here: https://www.harrisgeospatial.com/docs/Relational_Operators.html

I'm not sure what et stands for, but using these, the equation becomes:

(b1 <= 0) * 0 + (b1 >= 10000) * 1 + (b1 > 0 et b1 < 10000) * float (b1) / 10000 b1.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.