Skip to content

Which "format" for expression? #17

Description

@m-mohr

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...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions