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

Allow loading a process at start-up #134

Closed m-mohr closed 3 years ago

m-mohr commented 3 years ago

It should be possible to load a process at start-up, e.g. to explore examples.

User story:

  1. User visits web-site and finds an example
  2. Clicks a link to open it in the Web Editor
  3. Code is shown in Model Builder (and can easily be run and shown on the Map etc.)

The user shouldn't need to authenticate if he's already logged into the web page. Otherwise, it will fall back to discovery mode.

m-mohr commented 3 years ago

The easiest solution is to request it from a URL.

Passing a PG via a GET request parameter is prone to errors due to the length of the query.

m-mohr commented 3 years ago

Is now available, see for example https://editor.openeo.org/?server=https://earthengine.openeo.org&discover=1&process=https://raw.githubusercontent.com/Open-EO/openeo-earthengine-driver/master/tests/data/sample-processgraph.json (make sure to clear cache before)