Re: [OSM-talk] JOSM cut and paste between layers results in position change

2008-06-11 Thread Karl Newman
On Wed, Jun 11, 2008 at 3:05 AM, David Earl <[EMAIL PROTECTED]>
wrote:

> On 11/06/2008, Shaun McDonald <[EMAIL PROTECTED]> wrote:
> >
> > On 11 Jun 2008, at 08:06, David Earl wrote:
> >
> > > On 11/06/2008 04:32, Adam Schreiber wrote:
> > >
> > > > On Tue, Jun 10, 2008 at 10:56 PM, Simon Wood <[EMAIL PROTECTED]>
> > wrote:
> > > >
> > > > > Q). Is there some what to duplicate a way/node on another layer
> > without this displacement?
> > > > >
> > > >
> > > > I've run into this bug during the US state borders import.  My
> > > > solution was to select what I wanted to c&p, zoom to selection, copy
> > > > selection, switch layers, and paste.  That should take care of things
> > > > for now.
> > > >
> > >
> > > This isn't a bug, it is intentional. It pastes in the centre of the
> > > screen so that you don't have to search for the thing you pasted (which
> > > might be anywhere in the area you're working in), on the basis that
> > > you're trying to create something based on something similar, and you
> > > will want it near where you're working. I wasn't envisaging it would be
> > > used to replicate a data set.
> > >
> > >
> >
> > Maybe there should be an option to move or copy to another layer in the
> same
> > location?
>
> That would certainly be pretty straightforward to do.
>
> Would people prefer
> 1. an additional paste operation ("Paste in same place" / "Duplicate
> in same place")
> 2. a "Duplicate Layer" option on the context menu of the layer
> 3. A Preferences option to change the behaviour of paste
>
> David
>

Just for a point of reference, AutoCAD has "Paste to original coordinates".

Karl
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] JOSM cut and paste between layers results in position change

2008-06-11 Thread Robert Vollmert

On Jun 11, 2008, at 12:05, David Earl wrote:
>> Maybe there should be an option to move or copy to another layer in  
>> the same
>> location?
>
> That would certainly be pretty straightforward to do.
>
> Would people prefer
> 1. an additional paste operation ("Paste in same place" / "Duplicate
> in same place")
> 2. a "Duplicate Layer" option on the context menu of the layer
> 3. A Preferences option to change the behaviour of paste

Either 1 or 3 would be great. 2 would make it hard to take just a part  
of a layer (duplicate, cut, delete rest, duplicate). Please close 
http://josm.openstreetmap.de/ticket/587 
  if you implement this, and thanks in advance!

Cheers
Robert


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] JOSM cut and paste between layers results in position change

2008-06-11 Thread David Earl
On 11/06/2008, Shaun McDonald <[EMAIL PROTECTED]> wrote:
>
> On 11 Jun 2008, at 08:06, David Earl wrote:
>
> > On 11/06/2008 04:32, Adam Schreiber wrote:
> >
> > > On Tue, Jun 10, 2008 at 10:56 PM, Simon Wood <[EMAIL PROTECTED]>
> wrote:
> > >
> > > > Q). Is there some what to duplicate a way/node on another layer
> without this displacement?
> > > >
> > >
> > > I've run into this bug during the US state borders import.  My
> > > solution was to select what I wanted to c&p, zoom to selection, copy
> > > selection, switch layers, and paste.  That should take care of things
> > > for now.
> > >
> >
> > This isn't a bug, it is intentional. It pastes in the centre of the
> > screen so that you don't have to search for the thing you pasted (which
> > might be anywhere in the area you're working in), on the basis that
> > you're trying to create something based on something similar, and you
> > will want it near where you're working. I wasn't envisaging it would be
> > used to replicate a data set.
> >
> >
>
> Maybe there should be an option to move or copy to another layer in the same
> location?

That would certainly be pretty straightforward to do.

Would people prefer
1. an additional paste operation ("Paste in same place" / "Duplicate
in same place")
2. a "Duplicate Layer" option on the context menu of the layer
3. A Preferences option to change the behaviour of paste

David

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] JOSM cut and paste between layers results in position change

2008-06-11 Thread Shaun McDonald

On 11 Jun 2008, at 08:06, David Earl wrote:

> On 11/06/2008 04:32, Adam Schreiber wrote:
>> On Tue, Jun 10, 2008 at 10:56 PM, Simon Wood <[EMAIL PROTECTED]>  
>> wrote:
>>> Q). Is there some what to duplicate a way/node on another layer  
>>> without this displacement?
>>
>> I've run into this bug during the US state borders import.  My
>> solution was to select what I wanted to c&p, zoom to selection, copy
>> selection, switch layers, and paste.  That should take care of things
>> for now.
>
> This isn't a bug, it is intentional. It pastes in the centre of the
> screen so that you don't have to search for the thing you pasted  
> (which
> might be anywhere in the area you're working in), on the basis that
> you're trying to create something based on something similar, and you
> will want it near where you're working. I wasn't envisaging it would  
> be
> used to replicate a data set.
>

Maybe there should be an option to move or copy to another layer in  
the same location?

Shaun


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] JOSM cut and paste between layers results in position change

2008-06-11 Thread David Earl
On 11/06/2008 04:32, Adam Schreiber wrote:
> On Tue, Jun 10, 2008 at 10:56 PM, Simon Wood <[EMAIL PROTECTED]> wrote:
>> Q). Is there some what to duplicate a way/node on another layer without this 
>> displacement?
> 
> I've run into this bug during the US state borders import.  My
> solution was to select what I wanted to c&p, zoom to selection, copy
> selection, switch layers, and paste.  That should take care of things
> for now.

This isn't a bug, it is intentional. It pastes in the centre of the 
screen so that you don't have to search for the thing you pasted (which 
might be anywhere in the area you're working in), on the basis that 
you're trying to create something based on something similar, and you 
will want it near where you're working. I wasn't envisaging it would be 
used to replicate a data set.

David


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] JOSM cut and paste between layers results in position change

2008-06-10 Thread Adam Schreiber
On Tue, Jun 10, 2008 at 10:56 PM, Simon Wood <[EMAIL PROTECTED]> wrote:
> Q). Is there some what to duplicate a way/node on another layer without this 
> displacement?

I've run into this bug during the US state borders import.  My
solution was to select what I wanted to c&p, zoom to selection, copy
selection, switch layers, and paste.  That should take care of things
for now.

Cheers,

Adam

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


[OSM-talk] JOSM cut and paste between layers results in position change

2008-06-10 Thread Simon Wood
Hi,
I'm working on importing the trails from the Calgary Trails Project, at present 
I have one large '.osm' file containing 2220 ways and 72136 nodes. I could 
import this in one hit, but I feel that it would be unwise and some oversight 
is required.

Therefore I was thinking that I could use JOSM to open the local '.osm' file, 
find an interesting place and download the appropriate OSM data to a different 
layer. Once I have confirm that this particular area is OK I could 'copy and 
paste' between layers.

This is not possible because a paste displaces the way/node by some random (?) 
amount.

Q). Is there some what to duplicate a way/node on another layer without this 
displacement?


Is there another way I could achieve the same partial upload?

Cheers,
Simon.

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk