Which format should be used for the expression? It just says "Band arithmetic formula to apply to the referenced assets.", but this can be ambiguous.
Simple math should be somewhat clear, like the example: (B05–B04)/(B05+B04)
But let's say I want to compute the power of 2 or square root, how is this done?
sqrt(123)
math.sqrt(123)
\sqrt[n]{123} (latex)
123^2
123²
123^{2} (latex)
- etc.
It is unclear how a client should implement and translate this to e.g. a OpenLayers style expression...
Which format should be used for the
expression? It just says "Band arithmetic formula to apply to the referenced assets.", but this can be ambiguous.Simple math should be somewhat clear, like the example:
(B05–B04)/(B05+B04)But let's say I want to compute the power of 2 or square root, how is this done?
sqrt(123)math.sqrt(123)\sqrt[n]{123}(latex)123^2123²123^{2}(latex)It is unclear how a client should implement and translate this to e.g. a OpenLayers style expression...