/JOSM-Scripts-HOT

JOSM scripts for the JOSM scripting plugin, with a focus on supporting HOTOSM tasks.

Primary LanguageJavaScript

JOSM-Scripts-HOT

JOSM scripts for the JOSM scripting plugin (https://github.com/Gubaer/josm-scripting-plugin), with a focus on supporting HOTOSM tasks (https://www.hotosm.org/) in JOSM.

How to install: see http://bjohas.de/wiki/Maps/JOSM/scripting_plugin and then clone this repository into your JOSM/plugins/scripting/modules/ directory (or a custom directory, which you need to set up separately).

The main scripts are:

  • markResAreas.js
  • addOLC.js
  • processNodeBuildings.js (previously nodeBuilding2Way.js)
  • www/mmstats.html

Third-party / our utilities (in lib/ folder):

  • DBSCAN.js
  • graham_scan.js
  • openlocationcode.js
  • geoutils.js
  • mmstats.js
  • jquery.js

Some examples of javascript code for the scripting plugin can be found in the examples/ folder.

Helpful links:

Other JOSM scripting examples: