You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2015-11-09 03:57:27

rmikke
Moderator
From: Warszawa
Registered: 2014-11-14
Posts: 2,032
Website

JOSM: Copy tags from relation to line

Someone has created a building as multipolygon. Unnecessarily, it has two outer lines forming a simple rectangle.
I want to change it into simple rectangle. Is there a way to copy tags from relation and paste them to the line?
I know the paste tags feature, but I don't know how to get relation into clipboard...

Offline

#2 2015-11-09 06:32:49

n76
Member
Registered: 2013-05-22
Posts: 313

Re: JOSM: Copy tags from relation to line

I stumbled on this the other day. . . I'm on a Mac and the key combos might be a bit different for other operating systems.

Right click on the relation in the list and select "edit relation". All the key/values show up in the place where you normally edit ways and points. Right click on that and select "copy all tags/values". Now select the way you want to put the tags on and do the shift paste. You will have a type=multipolygon tag that you should remove after the paste.

Offline

#3 2015-11-09 22:17:17

rmikke
Moderator
From: Warszawa
Registered: 2014-11-14
Posts: 2,032
Website

Re: JOSM: Copy tags from relation to line

n76 wrote:

I stumbled on this the other day. . . I'm on a Mac and the key combos might be a bit different for other operating systems.

Right click on the relation in the list and select "edit relation". All the key/values show up in the place where you normally edit ways and points. Right click on that and select "copy all tags/values". Now select the way you want to put the tags on and do the shift paste. You will have a type=multipolygon tag that you should remove after the paste.

OK, I had to do some trial and error on PC, but there it is:
There is no "Edit" when rightclicking on relation. There is an "Edit" button, but it opens separate window and I could not copy tags from that.
But, there is the "Add relation to selection" option on rightclick (the name may be different, I have translated from Polish) and then all tags are in tag window and they may be copied from there.

Thanks big_smile

Last edited by rmikke (2015-11-09 22:20:32)

Offline

Board footer

Powered by FluxBB