|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
|---|---|
| Jiffle | Compiles scripts and generates Java sources and executable bytecode for runtime classes. |
| JiffleBuilder | A builder script which makes it easy to compile and run basic Jiffle scripts. |
| JiffleProperties | Helper class which reads the Jiffle properties file and provides values to other classes. |
| Enum Summary | |
|---|---|
| Jiffle.ImageRole | Used to specify the roles of images referenced in a Jiffle script. |
| Jiffle.RuntimeModel | Constants for runtime model. |
| Exception Summary | |
|---|---|
| JiffleException | Exception class for errors encountered while compiling a script |
Jiffle scripting language.
Jiffle is a language for raster algebra. Using it you can create images from mathematical and logical expressions which may, in turn, use data from other images. The main intention of Jiffle is to free you from having to write lots of Java and JAI boiler-plate code. Jiffle also allows much more flexibility that is possible with JAI's ImageFunction.
Jiffle is a superset of the r.mapcalc language used for raster algebra in GRASS GIS. Although there are minor differences between the two languages, including the form of variable names allowable, many r.mapcalc scripts should run under Jiffle with little or no changes required.
Jiffle adds additional features to those offered in r.mapcalc including more statistical functions, choice of scope for variables, and syntax to access specified bands and pixels in input images.
Jiffle scripts are compiled to bytecode. The compiler first translates the script into Java source which is then passed to Jiffle's embedded Janino compiler to produce executable bytecode in memory. The resulting run-time instance can then be used by client code as a normal Java object.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||