Re: [josm-dev] Sticky Tags Feature

2010-12-09 Thread Olivier Croquette

On 9 déc. 2010, at 08:46, Olivier Croquette wrote:


On 8 déc. 2010, at 23:31, M∡rtin Koppenhoefer wrote:


it could also be a way to use layers. Then you could draw all similar
stuff (e.g. POIs) on a separate layer, select all, apply your tags,
and merge it to the main data layer.


That will work if you create *only* new nodes, not if you want to  
reuse the existing ones, which is generally the case (eg. modifying  
or creating ways).


By the way, here is the method I use :
- modify what you want
- use the selection dialog, with one of the following filter strings  
depending on the case  :

  modified  Modified or new objects (ways ANDS nodes)
  modified -source  Modified unsourced object
  id:0 ways New ways
   ...
- apply the tag


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


Re: [josm-dev] Sticky Tags Feature

2010-12-08 Thread Olivier Croquette

On 8 déc. 2010, at 23:31, M∡rtin Koppenhoefer wrote:


it could also be a way to use layers. Then you could draw all similar
stuff (e.g. POIs) on a separate layer, select all, apply your tags,
and merge it to the main data layer.


That will work if you create *only* new nodes, not if you want to  
reuse the existing ones, which is generally the case (eg. modifying or  
creating ways).




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


Re: [josm-dev] Sticky Tags Feature

2010-12-05 Thread Matthias Julius
Russ Nelson nel...@crynwr.com writes:

 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?

JOSM already has a command Paste Tags (Ctrl+Shift-v) where it adds the
tags of a copied object to all currently selected objects.  That key
stroke is a bit of a stretch to do with one hand.  But, if you assign a
single key to this command I guess this might get you pretty far to what
you want to do.  Then, you can simply draw with one hand and hit the
keyboard with the other.

Matthias

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


Re: [josm-dev] Sticky Tags Feature

2010-12-05 Thread Olivier Croquette
On 4 déc. 2010, at 18:04, Ian Dees wrote:
 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).

It would be useful to add the source too.


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