﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9887	[PATCH] associatedStreet special handling for Paste relations (Ctrl+Alt+V)	tyndare	team	"
I would like to use the Paste relations action (Ctrl+Alt+V) to copy associatedStreet relation from addr:housenumber node to highway ways.
The problem with the current implementation is that it keeps the same role, so the highway is added to the relation with the role ""house"".

The attached patch make a special treatment when it paste an associatedStreet relation:
* if the element has the tag ""addr:housenumber"" it force the new role to be ""house""
* if the element has the tag ""highway"":
  1. it force the new role to be ""street""
  2. if the highway does not have a ""name"" tag, it set it to the name of the relation.

     Setting the name of the highway probably goes beyond the initial intent of this 
     ""Paste relation action"", but I think it is coherent as JOSM validator check that steet
     member of associatedStreet relation must have the same name as the relation.
   
"	enhancement	closed	normal		Plugin utilsplugin2		fixed	associatedStreet relation	
