{"action":"created","issue":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1607","labels_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1607/labels{/name}","comments_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1607/comments","events_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1607/events","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/1607","id":101799871,"number":1607,"title":"traffic_data branch, should be able to select traffic_segment_codes on individual segments, not just on ways","user":{"login":"danpat","id":1892250,"avatar_url":"https://avatars.githubusercontent.com/u/1892250?v=3","gravatar_id":"","url":"https://api.github.com/users/danpat","html_url":"https://github.com/danpat","followers_url":"https://api.github.com/users/danpat/followers","following_url":"https://api.github.com/users/danpat/following{/other_user}","gists_url":"https://api.github.com/users/danpat/gists{/gist_id}","starred_url":"https://api.github.com/users/danpat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpat/subscriptions","organizations_url":"https://api.github.com/users/danpat/orgs","repos_url":"https://api.github.com/users/danpat/repos","events_url":"https://api.github.com/users/danpat/events{/privacy}","received_events_url":"https://api.github.com/users/danpat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T03:36:50Z","updated_at":"2015-08-19T09:38:50Z","closed_at":null,"body":"On the traffic_data branch, all segments now have a `traffic_segment_code` attached.  Unfortunately, it's only settable in the `way_function`, so the best granularity you can get is at the level of a way.\r\n\r\nThere should be the option to do it on a per-segment basis as well, by iterating over all edges and giving them the opportunity to replace the `traffic_segment_code` with a more specific code for each segment.\r\n\r\nGeometry compression should look at the traffic_segment_code value to determine whether segments can be joined or not (it already does this, just re-iterating here)."},"comment":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/comments/132514801","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/1607#issuecomment-132514801","issue_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1607","id":132514801,"user":{"login":"TheMarex","id":606968,"avatar_url":"https://avatars.githubusercontent.com/u/606968?v=3","gravatar_id":"","url":"https://api.github.com/users/TheMarex","html_url":"https://github.com/TheMarex","followers_url":"https://api.github.com/users/TheMarex/followers","following_url":"https://api.github.com/users/TheMarex/following{/other_user}","gists_url":"https://api.github.com/users/TheMarex/gists{/gist_id}","starred_url":"https://api.github.com/users/TheMarex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheMarex/subscriptions","organizations_url":"https://api.github.com/users/TheMarex/orgs","repos_url":"https://api.github.com/users/TheMarex/repos","events_url":"https://api.github.com/users/TheMarex/events{/privacy}","received_events_url":"https://api.github.com/users/TheMarex/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T09:38:50Z","updated_at":"2015-08-19T09:38:50Z","body":"Just to capute here @lbud already implemented a segment function which should be usable for exactly this task (if we extend the parameters of the functions a little bit)."}}