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:
Feel free to contact me if this should be added for other URLs on the Openstreetmap Website as well.
3 Gedanken zu „„Edit in JOSM“ Greasemonkey script for Openstreetmap Objects“
Idea is good, however does not work for me.
I use latest JOSM (2006), RemoteControl plugin installed.
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.
Your Greasemonkey script is really cool! 🙂 I love using it!
Kommentare sind geschlossen.