[josm-dev] [patch] AlighInCircle action

Petr Dlouhý petr.dlouhy at email.cz
Mon Nov 24 07:22:50 GMT 2008


On Fri, 21 Nov 2008 01:21:10 +0100, Petr Dlouhý <petr.dlouhy at email.cz>  
wrote:

Hello,

how about my patch. Could it be commited, or is there something bad in it,  
or I am silly and I can commit it myself?

> Hello,
>
> I enhanced the AlignInCircle action. Now it calculates the center of the  
> circle as average position of circumcircles of the triangles of all  
> triplets of neighbour nodes. The main improvement is, that if the nodes  
> are allready on the circle, it calculates the center as center of that  
> circle (unlike the prevous algorithm), so the nodes would not move  
> (except numerical error).
>
> I also implemented three new features:
> When is selected node that is part of the way, then make a regular  
> polygon, selected node doesn't move.
> I haven't got better idea, how to activate that function.
>
> When one way and one node is selected, set center to position of that  
> node.
> When one more node, part of the way, is selected, set the radius equal  
> to the distance between two nodes.
>
> I am not able to commit that patch. Am I doing something wrong, or is on  
> josm.openstreetmap.de different login than on svn.openstreetmap.de?
> Anyway, I am sending the patch, so you can commit it.
>



-- 
Petr Dlouhý




More information about the josm-dev mailing list