[josm-dev] Patch for "Align nodes straight and parallel" action

2008-08-30 Thread A Morris
This is a patch against the latest svn, please try it out. Bug reports welcome. Basically it adds a new action "Align nodes straight and parallel". It requires that two or more ways are selected (this is required, as otherwise the algorithm wouldn't know which nodes were in which line). The nodes

Re: [josm-dev] Patch for "Align nodes straight and parallel" action

2008-08-31 Thread A Morris
I have also set up a bzr repository containing the code on launchpad. You should be able to run: bzr branch lp:~aled/+junk/josm-alignparallel Aled. On Sun, Aug 31, 2008 at 1:05 AM, A Morris <[EMAIL PROTECTED]> wrote: > This is a patch against the latest svn, please try it out. Bug reports > wel

Re: [josm-dev] Patch for "Align nodes straight and parallel" action

2008-08-31 Thread Dirk Stöcker
On Sun, 31 Aug 2008, A Morris wrote: > I intend to make a 'Align nodes curved and parallel' next, but I > thought I'd start with an easier one :-) Wouldn't an "Make ways parallel" be enough. You can make a second way parallel to the first selected one. To make a way straight there is already a

Re: [josm-dev] Patch for "Align nodes straight and parallel" action

2008-08-31 Thread A Morris
if you want to make, for example, 4 ways straight and parallel using this action, you would simply shift-click 4 times, then press equals. If there was a method that made ways parallel (but did not automatically straighten them), then you would need click then L 4 times, then shift-click 4 times,

Re: [josm-dev] Patch for "Align nodes straight and parallel" action

2008-08-31 Thread Dirk Stöcker
On Sun, 31 Aug 2008, A Morris wrote: > if you want to make, for example, 4 ways straight and parallel using > this action, you would simply shift-click 4 times, then press equals. > > If there was a method that made ways parallel (but did not > automatically straighten them), then you would need c

Re: [josm-dev] Patch for "Align nodes straight and parallel" action

2008-08-31 Thread A Morris
> You're right, that the action probably needs more clicks. but making ways > straight and aligned is not such an often done task, so for me the > negative fact to have more different tools counts more :-) I'm not sure how having additional tools is a negative? I agree it isn't the most common ope

Re: [josm-dev] Patch for "Align nodes straight and parallel" action

2008-08-31 Thread Dirk Stöcker
On Sun, 31 Aug 2008, A Morris wrote: >> You're right, that the action probably needs more clicks. but making ways >> straight and aligned is not such an often done task, so for me the >> negative fact to have more different tools counts more :-) > > I'm not sure how having additional tools is a ne