[josm-dev] [PATCH] DistributeAction

Teemu Koskinen teemu.koskinen at mbnet.fi
Sun Feb 1 14:14:08 GMT 2009


Hi,

This is a new action to distribute selected nodes (or the nodes of exactly  
one way) between the two furthest nodes of the selection. It's similiar  
to(and partly based on) the Align in Line -action, but it also distributes  
the nodes to equal distances of each other.

The action is useful eg. for buildings which have ledges at equal  
distances, and also service roads in parking areas. Also with this action  
it is possible to align a node exactly between two other nodes.

I'm not sure if the shortcut I chose (B) is the best one, it was the first  
one that came to my mind that wouldn't collide with anything else.

The patch is attached, and also a image for the menu (I couldn't get it in  
the patch, is it possible somehow?).

Regards, Teemu Koskinen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: distributeaction.patch
Type: application/octet-stream
Size: 6540 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/josm-dev/attachments/20090201/6ffb9900/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: distribute.png
Type: image/png
Size: 247 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/josm-dev/attachments/20090201/6ffb9900/attachment.png>


More information about the josm-dev mailing list