﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
11054	Tag and relation transit will be broken when splitting a way	imagic	team	"If the tag transit is used on a way and the way is splitted, the tag will be added to both parts of the way, which breaks the tag.

Correct behaviour for the tag would be:
* transit[:lanes] -> tag will be added to the ""forward"" part of the splitted way and removed from the ""backward"" part of the splitted way
* transit[:lanes]:forward -> identical to transit[:lanes]
* transit[:lanes]:backward -> tag will be added to the ""backward"" part of the splitted way and removed from the ""forward"" part of the splitted way


A relation type=transit has exactly two ways as members: ""from"" and ""to"". Those two ways must share a common node at one end. If any of those two ways is split, those part of the splitted way must remain member of the relation that still contains that common node. In case the two ways do not share a common node or more than one node, the relation is already invalid and both parts of the splitted way should remain members of the relation (with the same role) and preferable a warning should be displayed, e.g. ""A transit relation may only contain exactly two adjacent ways. Please verify and update if possible.""

I attach a test file to the ticket with correctly tagged ways/relations before and after a split.

"	enhancement	closed	normal		Core	tested	wontfix		
