[josm-dev] Split Way / UnGlue Ways

Russ Nelson nelson at crynwr.com
Thu Apr 23 20:25:11 BST 2009


Can we combine Split Way and UnGlue Ways?  They operate on distinct
selections except in the case of having one node selected.  Then,
UnGlue Ways creates two nodes, whereas Split Way creates two ways.
This is easily resolved by eliminating the Split Way case -- you have
to say which way you want split and where you want it split.

The new command would be named "Separate".


*UnGlue Ways(one node) -> assigns original node to one way, and creates a
                          new node for other ways.  Copies tags.

                          If the node only belongs to one way, the tags
                          aren't copied to the node which is left in
                          the way.

UnGlue Ways(one way)  ->  creates new nodes for all nodes shared with
                          another way.

UnGlue Ways(multiple nodes) -> error (but why not just iterate?)

UnGlue Ways(one node, one way) -> same as UnGlue Ways(one node)


*Split Way(one or more nodes) -> locates the way to which the node(s) is
                                 a member and splits it.

Split Way(one way) -> silently ignored (greyed out in menu).

Split Way(one way, one or more nodes) -> splits way at each node.



-- 
--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