Re: [josm-dev] Scripting plugin

2011-04-14 Thread Jo
I will add it myself, but I'm still working on it, that's why I didn't do it yet. Cheers, Polyglot 2011/4/14 Karl Guggisberg > A russian user created another script in JavaScript and announced it on the > OSM blog. I've added a link to the ScriptingPlugin page, > http://wiki.openstreetmap.org/

Re: [josm-dev] Scripting plugin

2011-04-14 Thread Paul Hartmann
Jo wrote: I'm back on track with the scripting plugin. I created a Jython script that helps to find probable spelling errors in street names. It's quite specific in that it supports the bilingual status of Brussels. #!/bin/jython # # Spell checking.py - Helps to locate probable spell errors #

Re: [josm-dev] Scripting plugin

2011-04-11 Thread Jo
I'm back on track with the scripting plugin. I created a Jython script that helps to find probable spelling errors in street names. It's quite specific in that it supports the bilingual status of Brussels. #!/bin/jython > # > # Spell checking.py - Helps to locate probable spell errors > # > from

Re: [josm-dev] Scripting plugin

2011-03-20 Thread Jo
Thanks for the hit Martin, unfortunately I gave up on it. I managed to convert the one line to get the selected nodes and other primitives. But now I'm stuck at the creation of a Cmd-structure to pass to the UndoRedo function/class. Anyway, I found that the terracer plugin already has the function

Re: [josm-dev] Scripting plugin

2011-03-19 Thread M∡rtin Koppenhoefer
2011/3/19 Jo : > - User selects two primitives: a node with housenumber information and a > closedway representing a building. > - Jython script copies all the properties from the node and merges the node > with one of the nodes of the building > - Then all the properties from the node are copied t

[josm-dev] Scripting plugin

2011-03-18 Thread Jo
Hi guys, Maybe this is not the right list for my question. If so, I'm sorry. I'm more of a Python programmer than a Java programmer, this is why the scripting plugin peeked my interest. The one example showing how to show the number of layers is not enough to get me started with what I want to ac