Evalscript

Evalscripts can use any JavaScript function or language structures, along with certain utility functions we provide for your convenience. For running evalscripts we use the Chrome V8 JavaScript engine.

There are multiple versions of the evalscript, each with somewhat different capabilities and syntax. This is because in parallel with developing Sentinel Hub's capability we are also evolving evalscript. There are several versions available. Currently, the API supports only V3 and OGC still supports all versions of evalscript.

To help you write better and more efficient code, we have prepared a Medium blog post on good scripting practices.

See also the following blog posts on scripting:

More blog posts can be found on our Sentinel Hub website, where you can find additional useful links and tutorials.