This is documentation of an archived release.
For documentation on the current version, please check Knowledge Base.

Scripting extension

the Orbit GIS Script extension brings the power of the Orbit engine to all JSR-223 compatible scripting languages! Java Specification Request 223 specifies a standardized interface for scripting engines and many scripting languages on the Java platform have implemented this interface.

Examples include but are not limited to :

  • Groovy
  • JavaFX script
  • Python
  • Javascript
  • Java itself (compiled on-the-fly)
  • Ruby`
  • TCL

Running a script

The extension comes bundled with the latest version of the groovy scripting language.

To add support for other languages, you should add 2 things to the <orbitgis>/ext/script/jar directory :

  1. The jars required by the scripting language
  2. The jar implementing the JSR-223 interface

Samples

 
Last modified:: 2019/03/25 11:36