[josm-dev] JOSM extension for orthogonalizing ways

Harald Kucharek harald.kucharek at gmx.net
Sat Nov 1 09:58:57 GMT 2008


Hello,

I just added a new file to the patch that now realizes the first idea 
below. You can now also select two arbitrary nodes and then the ways 
will be aligned to the direction established by the two nodes.

Harald

Am 31.10.2008 11:30, schrieb Harald Kucharek:
>> I did the align-in-recangle initially, and I have been asked by users 
>> whether it would be possible to, instead of have the algorithm compute 
>> the general direction, pre-select one edge somehow for all others to 
>> follow. I haven't had the time to look into that though, maybe it is 
>> something you want to tackle on your next holiday ;-)
> 
> In holiday I map. Programming is for the rainy season ;-)
> As - if I understand correctly - it is not possible in JOSM to select just a segemt of a way, I only have two sponaneous ideas:
> -the collection must also contain two nodes that would establish the direction
> -the collection must also contain one way constisting of only two nodes, which would establish the direction
> This would also allow to draw a larger "helpline" just for orientation and then align the other objects to it. Then the helpline can be deleted.





More information about the josm-dev mailing list