The scripting environment has been enhanced in a number of ways:
The script console has been updated to perform more robustly and is less likely to lock up when large scripts are pasted in to the window.
The error messages produced by the BeanShell interpreter are tidier and easier to understand.
If is now possible to use any other JSR-233 scripting language to control Patchworks, such as Jython, Groovy or JavaScript. Just copy the JAR file containing the language plus the JSR-233 script engine extension in to the Patchworks lib folder, and restart Patchworks. The Patchworks map viewer and Application Launcher fully support drag-and-drop of scripts so long as the appropriate language file is in the lib folder.
As part of these changes the Patchworks scripts directly has been reorganized to allow the addition of scripts for other languages. New scripting languages can be added by creating a script folder with the same name as the language (e.g. jython), and then adding scripts with the correct language extension (e.g. '.py'). These scripts will be loaded in alphabetical order when the language is first used.
Minor changes and fixes:
Improved algorithm for rasterization of polygons, lines and points. Can now specify order for overlapping features.
Better detection and avoidance of problems when deleting grids and info files.