Reverse - ObjectVision/GeoDMS GitHub Wiki
Ordering functions reverse
reverse(a)
reverse(a) reverses the sequence of the values of attribute a. The function results in a new attribute with the same values unit and domain unit as attribute a and with the values of attribut a in reversed order.
attributes with Numeric, Point or bool value type
attribute<float32> reverseA (ADomain) := reverse(A);
| A | reverseA |
|---|---|
| 0 | 100 |
| 1 | null |
| 2.5 | 0 |
| -100 | null |
| 999 | null |
| null | 999 |
| null | -100 |
| 0 | 2.5 |
| null | 1 |
| 100 | 0 |
ADomain, nr of rows = 10