“Edit in JOSM” Greasemonkey script for Openstreetmap Objects

Thinking about customization of the Openstreetmap Website in addition to my load current map view into josmbookmarklet I came across Greasemonkey which is a Firefox add-on that allows users to install scripts that make on-the-fly changes to HTML web page content.

This comes very handy if one uses JOSM for Editing Openstreetmap stuff instead of the online editor Potlatch. As JOSM allows to be remote-controlled by means of HTTP commands it is now possible using my greasemonkey script to load OSM objects (nodes,ways and relations) into a running Editor while browsing them with the OSM Data Layer.

Currently edit links are added to OSM browse-URLs of the following form:

  • http://www.openstreetmap.org/browse/node/<node-id>
  • http://www.openstreetmap.org/browse/way/<way-id>
  • http://www.openstreetmap.org/browse/relation/<relation-id>

OSM and Greasemonkey

Feel free to contact me if this should be added for other URLs on the Openstreetmap Website as well.

3 thoughts on ““Edit in JOSM” Greasemonkey script for Openstreetmap Objects”

  1. Try using josm-tested.jar I experienced some problems with josm-latest as well. Also try opening a console and check the output of the remote console plugin.

Comments are closed.