Changes between Version 17 and Version 18 of Help/Plugin/Scripting


Ignore:
Timestamp:
2021-08-07T19:25:54+02:00 (3 years ago)
Author:
leni
Comment:

new Groovy url; wikitr:/

Legend:

Unmodified
Added
Removed
Modified
  • Help/Plugin/Scripting

    v17 v18  
    3333[https://gubaer.github.io/josm-scripting-plugin/apidoc/modules/josm.html Javascript API] for the JOSM application objects.\\
    3434Alternatively, you can use any scripting language which provides a JSR-223 compatible scripting engine, in particular
    35 [http://groovy.codehaus.org/ Groovy], [http://www.jython.org/ Python], or [http://jruby.org/ Ruby].\\
     35[http://groovy-lang.org/index.html Groovy], [http://www.jython.org/ Python], or [http://jruby.org/ Ruby].\\
    3636
    3737[https://github.com/gubaer/josm-scripting-plugin Source code at GitHub].
     
    4646=== Scripts in Python ===
    4747
    48 * [wiki:Help/Plugin/Scripting/Python] - various small scripts that are meant to illustrate how to do one thing.
    49 * [wiki:Help/Plugin/Scripting/Python/SurfaceTypesOfRoutes] - (Interesting for cycle routes, both loops and linear ones). Short piece of code, but illustrates some interesting concepts and reports on OSM data. Doesn't make changes to the data
    50 * [wiki:Help/Plugin/Scripting/Python/RCN_Route_Validator] - This is not a trivial script anymore. It does a lot in a complicated field (networks of cycle node routes with numbered nodes), makes changes to relations, writes to a file that can be pasted to the wiki. Analyzes routes, but also networks of routes or collections of networks of routes, depending on the selection in JOSM when the script was run.
    51 * [attachment:ticket:7991:AutoAddIntersections.py AutoAddIntersections] (needs [wiki:Plugin/UtilsPlugin2 UtilsPlugin2]) - Adds command queue listener that will perform utilsplugin2's AddNodesAtIntersections command after encountering Extrude command. (See #7991)\\
     48* [wikitr:/Help/Plugin/Scripting/Python] - various small scripts that are meant to illustrate how to do one thing.
     49* [wikitr:/Help/Plugin/Scripting/Python/SurfaceTypesOfRoutes] - (Interesting for cycle routes, both loops and linear ones). Short piece of code, but illustrates some interesting concepts and reports on OSM data. Doesn't make changes to the data
     50* [wikitr:/Help/Plugin/Scripting/Python/RCN_Route_Validator] - This is not a trivial script anymore. It does a lot in a complicated field (networks of cycle node routes with numbered nodes), makes changes to relations, writes to a file that can be pasted to the wiki. Analyzes routes, but also networks of routes or collections of networks of routes, depending on the selection in JOSM when the script was run.
     51* [attachment:ticket:7991:AutoAddIntersections.py AutoAddIntersections] (needs [wikitr:/Help/Plugin/UtilsPlugin2 UtilsPlugin2]) - Adds command queue listener that will perform utilsplugin2's AddNodesAtIntersections command after encountering Extrude command. (See #7991)\\
    5252 Run once per JOSM session.
    5353
     
    5757
    5858== See also ==
    59 * [wiki:/Plugins Plugin Help]
     59* [wikitr:/Plugins Plugin Help]
    6060
    6161----
    62 Back to [wiki:/Help Main Help]
     62Back to [wikitr:/Help Main Help]