JOSM/Plugins/Scripting
Jump to navigation
Jump to search
Install the scripting plugin to run scripts in JOSM.
Use it to automate small tasks for which no dedicated plugin is available, i.e.
- additional quality tests for which no validator test cases are available
- automatically entering data in very specific situations (i.e. automatically entering a sequences of house numbers)
- importing from a custom file format not supported by JOSM
- exporting to a custom file format not supported by JOSM
The plugin includes a embedded scripting engine for Javascript based on Mozilla Rhino and a Javascript API for the JOSM application objects.
Alternatively, you can use any scripting language which provides a JSR-223 compatible scripting engine, in particular Groovy, Python, or Ruby.
Please refer to the documentation on GitHub for more information.