Re: [josm-dev] Sticky Tags Feature

2010-12-04 Thread Russ Nelson
Ian Dees writes:
  Hi JOSM Devs,
  
  I'd like to implement a feature in JOSM that applies the tags from the
  clipboard to every new way or node created. I think this would be useful for
  creating powerlines (apply power=tower to every new node in the way) or for
  a set of buildings along a street (addr:street=* to every new building).
  
  Does anyone have any ideas for how the interface for this might work? Maybe
  a menu with toggles in it?

Perhaps you could select one of the presets to be default?  Have a
checkbox in the preset dialog which says Apply this preset
automatically.  When you create a new node/way/relation, if the
default preset is not unsuitable, apply its values to the new item
just as if the user had clicked Apply Preset while not selecting
anything in the dialog.

At the end of the Presets drop-down menu could be a Default Preset
which would pop up the preset whose checkbox is currently selected.
Would ordinarily be greyed out if nothing had been checked.

Only thing wrong I see with this is that you have to create a new
preset if no existing preset will set the attributes you want.

-- 
--my blog is athttp://blog.russnelson.com
Crynwr supports open source software
521 Pleasant Valley Rd. | +1 315-600-8815
Potsdam, NY 13676-3213  | Sheepdog   

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Sticky Tags Feature

2010-12-04 Thread Sebastian Klein

Ian Dees wrote:

Hi JOSM Devs,

I'd like to implement a feature in JOSM that applies the tags from the
clipboard to every new way or node created. I think this would be useful for
creating powerlines (apply power=tower to every new node in the way) or for
a set of buildings along a street (addr:street=* to every new building).

Does anyone have any ideas for how the interface for this might work? Maybe
a menu with toggles in it?


We had one suggestion by a user that goes slightly in this direction: On 
the main map you would have a certain area (clipboard).


You could copy or drag objects onto this area, the important idea is, 
that it stays fixed regardless how you scroll or zoom the map.


In combination with Ctrl-C, Ctrl-Shift-V (paste tags) you would have 
easy access to often used tags and geometries. Maybe there would be a 
way to mark objects in the clipboard as auto apply, i.e. all it's tags 
are sticky tags.



Sebastian

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Sticky Tags Feature

2010-12-04 Thread Frederik Ramm
Hi,

 I'd like to implement a feature in JOSM that applies the tags from the
 clipboard to every new way or node created. I think this would be
 useful for creating powerlines (apply power=tower to every new node
 in the way) or for a set of buildings along a street (addr:street=*
 to every new building).

A graphics program i used to use, maybe it was dia?, worked like this:
whenever an object was selected and you changed properties, you were
changing the properties of that object. When no object was selected,
you were changing the default properties for new objects. 

Bye
Frederik

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Sticky Tags Feature

2010-12-04 Thread Russ Nelson
Frederik Ramm writes:
   I'd like to implement a feature in JOSM that applies the tags from the
   clipboard to every new way or node created. I think this would be
   useful for creating powerlines (apply power=tower to every new node
   in the way) or for a set of buildings along a street (addr:street=*
   to every new building).
  
  A graphics program i used to use, maybe it was dia?, worked like this:
  whenever an object was selected and you changed properties, you were
  changing the properties of that object. When no object was selected,
  you were changing the default properties for new objects. 

Oooh!  Ooooh!  Much simpler than my Presets proposal. Only problem is
that it might confuse newbies. Maybe put it in a different color or
font to let them know that they're setting a different kind of
property?

-- 
--my blog is athttp://blog.russnelson.com
Crynwr supports open source software
521 Pleasant Valley Rd. | +1 315-600-8815
Potsdam, NY 13676-3213  | Sheepdog   

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev