Open-EO / openeo-web-editor

An interactive and easy to use web-based editor for the OpenEO API.
https://editor.openeo.org
Apache License 2.0
12 stars 17 forks source link

Support JavaScript coding #171

Open m-mohr opened 3 years ago

m-mohr commented 3 years ago

Add a new mode to the Editor (right now: Model, JSON), which is JavaScript.

The code can then generate a process graph for the other modes. Generating JS from a process graph is probably a bit more difficult though.

Why? It would probably help with two use-cases:

  1. Attract GEE users (many use JS especially in their Editor)
  2. Automate some block generation, e.g. if you need a block 10x with varying parameters or need to generate stuff like long lists for apply_kernel or aggregate_temporal. This can be programmed much easier with JS.
m-mohr commented 3 years ago

Related to #184