[josm-dev] Scripting plugin
Jo
winfixit at gmail.com
Sun Mar 20 11:55:01 GMT 2011
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 functionality I was
looking for. Alt-Shift-P does the trick!
I also created a Youtube video explaining how to convert an address
interpolation vector to a terrace of buildings:
http://www.youtube.com/watch?v=4XzEc2YG75I
This combines the addressinterpolation plugin with the terracer plugin.
Really sweet!
Jo
2011/3/19 M∡rtin Koppenhoefer <dieterdreist at gmail.com>
> 2011/3/19 Jo <winfixit at gmail.com>:
> > - 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 to the building
> closedway
>
>
> Don't forget to remove in a following step the tags from the node
> which you have copied to the closed way.
>
> cheers,
> Martin
>
More information about the josm-dev
mailing list