[josm-dev] Combine and Merge

Russ Nelson nelson at crynwr.com
Thu Apr 23 20:43:42 BST 2009


Russ Nelson writes:
 > Can we combine and merge Combine and Merge?

No, I suggest this instead:

Can we combine, join, and merge Combine, Join Node to Way, and Merge?

Combine Way(two or more ways) -> combines ways.
Combine Way(two or more ways with any number of node selections) ->
                             combines ways, ignores node selection.
Merge(two or more nodes) -> combines nodes.
Merge(two or more nodes with any number of ways) -> ignored (greyed
                             out)

Join Node(one node) -> joins node into one or more of the nearest ways.
Join Node(one way) -> ignored but not greyed out.
Join Node(multiple nodes) -> ignored but not greyed out.


We make a new command called "Join" (which is the mirror of
"Separate"):

Join(two or more ways) -> combines ways.
Join(two or more nodes) -> combines nodes.
Join(one node and one way) -> inserts the node into the way at the
nearest point.  If it's not "near", throw a message saying "Not near enough"

Join(one node and multiple ways) -> for each way: Join(node, way)
Join(one way and multiple nodes) -> for each node: Join(node, way)

Join(multiple ways and multiple nodes) -> error: "Too many things selected"

-- 
--my blog is at    http://blog.russnelson.com
Cloudmade supports http://openstreetmap.org/ 
521 Pleasant Valley Rd. | +1 315-323-1241    
Potsdam, NY 13676-3213  |     Sheepdog       




More information about the josm-dev mailing list