[OSM-talk] JOSM geometry support

Frederik Ramm frederik at remote.org
Thu Aug 23 21:46:44 BST 2007


Hi,

> - Create node into existing segment and connect. Think of the existing "Add 
> node into segment" tool, plus the functionality of "draw segment from last 
> drawn node". Will be helpful to draw T-junctions, and for scenarios similar 
> to the ones where "create node at intersection" is needed.

> How would I like it? As a part of the "create segment" tool, not as part of 
> the "create node" tool.

I have disrespected your second wish but I hope you, and others, will be 
as pleased with the result as I am.

The existing "add node and connect" tool now has two special functions. 
If you hold CTRL while clicking, it will insert a node into an existing 
segment (like the "add node into segment" tool does but without the 
intersection node feature introduced two days ago). If you hold SHIFT 
while clicking, it will not add a new node but look for an existing node 
in the vicinity to re-use (but still create the segment *and* select the 
node so that you can continue to "add node and connect").

The result of this is that you practically don't need anything else than 
the "add node and connect" mode with occasional shift/ctrl modifiers, 
where before you had to interrupt your "add node and connect" work all 
the time to draw a single segment or insert a node into an existing one.

In the long run, the other "insert node" functions and perhaps even the 
"add segment" stuff might be replaced by this one action that always 
does the right thing. (See http://josm.eigenheimstrasse.de/ticket/11.)

(There may be bugs. I believe you can currently create multiple segments 
between two nodes, this should be fixed. And it doesn't have the visual 
clue that add segment has, but we'll get to that when we fix 
http://josm.eigenheimstrasse.de/ticket/41.)

Changes effective from tonight's build, or if you want it now, try
http://www.remote.org/frederik/tmp/josm-custom.jar.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00.09' E008°23.33'




More information about the talk mailing list