{"action":"created","issue":{"url":"https://api.github.com/repos/openstreetmap/iD/issues/4864","repository_url":"https://api.github.com/repos/openstreetmap/iD","labels_url":"https://api.github.com/repos/openstreetmap/iD/issues/4864/labels{/name}","comments_url":"https://api.github.com/repos/openstreetmap/iD/issues/4864/comments","events_url":"https://api.github.com/repos/openstreetmap/iD/issues/4864/events","html_url":"https://github.com/openstreetmap/iD/issues/4864","id":303924193,"number":4864,"title":"Splitting the road does also cause wrong order of a public transport version 2 relation's members","user":{"login":"Lukas458","id":35879422,"avatar_url":"https://avatars0.githubusercontent.com/u/35879422?v=4","gravatar_id":"","url":"https://api.github.com/users/Lukas458","html_url":"https://github.com/Lukas458","followers_url":"https://api.github.com/users/Lukas458/followers","following_url":"https://api.github.com/users/Lukas458/following{/other_user}","gists_url":"https://api.github.com/users/Lukas458/gists{/gist_id}","starred_url":"https://api.github.com/users/Lukas458/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lukas458/subscriptions","organizations_url":"https://api.github.com/users/Lukas458/orgs","repos_url":"https://api.github.com/users/Lukas458/repos","events_url":"https://api.github.com/users/Lukas458/events{/privacy}","received_events_url":"https://api.github.com/users/Lukas458/received_events","type":"User","site_admin":false},"labels":[{"id":9013573,"url":"https://api.github.com/repos/openstreetmap/iD/labels/bug","name":"bug","color":"d93f0b","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-09T17:46:33Z","updated_at":"2018-03-09T23:28:36Z","closed_at":null,"author_association":"NONE","body":"If you split a way in iD, which is part of a public transport version 2 relation, the relation's members with the roles \"stop\" and \"platform\" are ordered completely new after splitting the way. Even if the members with the roles \"stop\" and \"platform\" have nothing to do with the way splitted in two ones. First are listed all \"stop\" members, then all \"platform\" members. For example, please look at this relation: https://www.openstreetmap.org/relation/1732029 The order of the members is wrong. After every stop member, there has to come the matching platform member, if existent. Not all stop members first and then all platform mebers second."},"comment":{"url":"https://api.github.com/repos/openstreetmap/iD/issues/comments/371974542","html_url":"https://github.com/openstreetmap/iD/issues/4864#issuecomment-371974542","issue_url":"https://api.github.com/repos/openstreetmap/iD/issues/4864","id":371974542,"user":{"login":"slhh","id":13684947,"avatar_url":"https://avatars2.githubusercontent.com/u/13684947?v=4","gravatar_id":"","url":"https://api.github.com/users/slhh","html_url":"https://github.com/slhh","followers_url":"https://api.github.com/users/slhh/followers","following_url":"https://api.github.com/users/slhh/following{/other_user}","gists_url":"https://api.github.com/users/slhh/gists{/gist_id}","starred_url":"https://api.github.com/users/slhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slhh/subscriptions","organizations_url":"https://api.github.com/users/slhh/orgs","repos_url":"https://api.github.com/users/slhh/repos","events_url":"https://api.github.com/users/slhh/events{/privacy}","received_events_url":"https://api.github.com/users/slhh/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T23:28:36Z","updated_at":"2018-03-09T23:28:36Z","author_association":"CONTRIBUTOR","body":"@Lukas458 \r\nAre the stops still in correct sequence?\r\n\r\n@bhousel All platforms are ways in this route, which is pretty valid in PTv2. Maybe, this is the reason for the issue.\r\n\r\n> // Write members in the order: nodes, ways, relations \r\nThis is wrong, at least for PTv2.\r\n\r\nThe wiki says:\r\n>  first a list of all stations in the order: stop_position 1, platform 1, stop_position 2, platform 2, … Stop positions get the role stop, platforms the role platform. It is necessary to add the stops/platforms if they are mapped but it is not necessary to add them if they are missing just to be able to add them to the relation.\r\nThe list of stops and platforms is followed by a ordered list of the ways which are used by the vehicle from the starting station to the terminal station. \r\n\r\n"}}
{"actor":{"display_login":"slhh"}}