{"action":"created","comment":{"url":"https://api.github.com/repos/mapsme/omim/pulls/comments/45171900","id":45171900,"diff_hunk":"@@ -122,7 +140,13 @@ TurnDirection GetRoundaboutDirection(bool isIngoingEdgeRoundabout, bool isOutgoi\n  * \\param turnInfo is used for cashing some information while turn calculation.\n  * \\param turn is used for keeping the result of turn calculation.\n  */\n-void GetTurnDirection(Index const & index, turns::TurnInfo & turnInfo, TurnItem & turn);\n+void GetTurnDirection(Index const & index, RoutingMapping & mapping, turns::TurnInfo & turnInfo,\n+                      TurnItem & turn);\n \n+/*!\n+ * \\brief Finds UTurn started from current segment and returns how many segments it lasts.\n+ * Returns 0 otherwise.","path":"routing/turns_generator.hpp","position":87,"original_position":87,"commit_id":"135a8b2b1545094a14f9d7327fb540d1ba29df6a","original_commit_id":"135a8b2b1545094a14f9d7327fb540d1ba29df6a","user":{"login":"ygorshenin","id":454567,"avatar_url":"https://avatars.githubusercontent.com/u/454567?v=3","gravatar_id":"","url":"https://api.github.com/users/ygorshenin","html_url":"https://github.com/ygorshenin","followers_url":"https://api.github.com/users/ygorshenin/followers","following_url":"https://api.github.com/users/ygorshenin/following{/other_user}","gists_url":"https://api.github.com/users/ygorshenin/gists{/gist_id}","starred_url":"https://api.github.com/users/ygorshenin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ygorshenin/subscriptions","organizations_url":"https://api.github.com/users/ygorshenin/orgs","repos_url":"https://api.github.com/users/ygorshenin/repos","events_url":"https://api.github.com/users/ygorshenin/events{/privacy}","received_events_url":"https://api.github.com/users/ygorshenin/received_events","type":"User","site_admin":false},"body":"Last sentence is useless as the first expression is not a conditional.","created_at":"2015-11-18T08:33:01Z","updated_at":"2015-11-18T08:33:01Z","html_url":"https://github.com/mapsme/omim/pull/567#discussion_r45171900","pull_request_url":"https://api.github.com/repos/mapsme/omim/pulls/567","_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments/45171900"},"html":{"href":"https://github.com/mapsme/omim/pull/567#discussion_r45171900"},"pull_request":{"href":"https://api.github.com/repos/mapsme/omim/pulls/567"}}},"pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/567","id":50975704,"html_url":"https://github.com/mapsme/omim/pull/567","diff_url":"https://github.com/mapsme/omim/pull/567.diff","patch_url":"https://github.com/mapsme/omim/pull/567.patch","issue_url":"https://api.github.com/repos/mapsme/omim/issues/567","number":567,"state":"open","locked":false,"title":"[routing] Uturns support.","user":{"login":"gardster","id":1862559,"avatar_url":"https://avatars.githubusercontent.com/u/1862559?v=3","gravatar_id":"","url":"https://api.github.com/users/gardster","html_url":"https://github.com/gardster","followers_url":"https://api.github.com/users/gardster/followers","following_url":"https://api.github.com/users/gardster/following{/other_user}","gists_url":"https://api.github.com/users/gardster/gists{/gist_id}","starred_url":"https://api.github.com/users/gardster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gardster/subscriptions","organizations_url":"https://api.github.com/users/gardster/orgs","repos_url":"https://api.github.com/users/gardster/repos","events_url":"https://api.github.com/users/gardster/events{/privacy}","received_events_url":"https://api.github.com/users/gardster/received_events","type":"User","site_admin":false},"body":"https://trello.com/c/FCT2moyo/2050--\r\n\r\nДобавляет поддержку разворотов в легенду для роутинга. Для того чтобы добавить эту функциональность, пришлось провести рефакторинг процедур построения легенды маршрута.\r\nPR добавляет 2 состояния разворота : UTurnLeft и UTurnRight (для стран с правосторонним движением).","created_at":"2015-11-17T17:14:00Z","updated_at":"2015-11-18T08:33:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f44e3158c67924640d47d60f84ca94dc62f00aa9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapsme/omim/pulls/567/commits","review_comments_url":"https://api.github.com/repos/mapsme/omim/pulls/567/comments","review_comment_url":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/567/comments","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/135a8b2b1545094a14f9d7327fb540d1ba29df6a","head":{"label":"gardster:uturns_support","ref":"uturns_support","sha":"135a8b2b1545094a14f9d7327fb540d1ba29df6a","user":{"login":"gardster","id":1862559,"avatar_url":"https://avatars.githubusercontent.com/u/1862559?v=3","gravatar_id":"","url":"https://api.github.com/users/gardster","html_url":"https://github.com/gardster","followers_url":"https://api.github.com/users/gardster/followers","following_url":"https://api.github.com/users/gardster/following{/other_user}","gists_url":"https://api.github.com/users/gardster/gists{/gist_id}","starred_url":"https://api.github.com/users/gardster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gardster/subscriptions","organizations_url":"https://api.github.com/users/gardster/orgs","repos_url":"https://api.github.com/users/gardster/repos","events_url":"https://api.github.com/users/gardster/events{/privacy}","received_events_url":"https://api.github.com/users/gardster/received_events","type":"User","site_admin":false},"repo":{"id":43428017,"name":"omim","full_name":"gardster/omim","owner":{"login":"gardster","id":1862559,"avatar_url":"https://avatars.githubusercontent.com/u/1862559?v=3","gravatar_id":"","url":"https://api.github.com/users/gardster","html_url":"https://github.com/gardster","followers_url":"https://api.github.com/users/gardster/followers","following_url":"https://api.github.com/users/gardster/following{/other_user}","gists_url":"https://api.github.com/users/gardster/gists{/gist_id}","starred_url":"https://api.github.com/users/gardster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gardster/subscriptions","organizations_url":"https://api.github.com/users/gardster/orgs","repos_url":"https://api.github.com/users/gardster/repos","events_url":"https://api.github.com/users/gardster/events{/privacy}","received_events_url":"https://api.github.com/users/gardster/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gardster/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":true,"url":"https://api.github.com/repos/gardster/omim","forks_url":"https://api.github.com/repos/gardster/omim/forks","keys_url":"https://api.github.com/repos/gardster/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gardster/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gardster/omim/teams","hooks_url":"https://api.github.com/repos/gardster/omim/hooks","issue_events_url":"https://api.github.com/repos/gardster/omim/issues/events{/number}","events_url":"https://api.github.com/repos/gardster/omim/events","assignees_url":"https://api.github.com/repos/gardster/omim/assignees{/user}","branches_url":"https://api.github.com/repos/gardster/omim/branches{/branch}","tags_url":"https://api.github.com/repos/gardster/omim/tags","blobs_url":"https://api.github.com/repos/gardster/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gardster/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gardster/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/gardster/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gardster/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/gardster/omim/languages","stargazers_url":"https://api.github.com/repos/gardster/omim/stargazers","contributors_url":"https://api.github.com/repos/gardster/omim/contributors","subscribers_url":"https://api.github.com/repos/gardster/omim/subscribers","subscription_url":"https://api.github.com/repos/gardster/omim/subscription","commits_url":"https://api.github.com/repos/gardster/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/gardster/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/gardster/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/gardster/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/gardster/omim/contents/{+path}","compare_url":"https://api.github.com/repos/gardster/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gardster/omim/merges","archive_url":"https://api.github.com/repos/gardster/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gardster/omim/downloads","issues_url":"https://api.github.com/repos/gardster/omim/issues{/number}","pulls_url":"https://api.github.com/repos/gardster/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/gardster/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/gardster/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gardster/omim/labels{/name}","releases_url":"https://api.github.com/repos/gardster/omim/releases{/id}","created_at":"2015-09-30T10:57:47Z","updated_at":"2015-09-30T10:59:59Z","pushed_at":"2015-11-17T17:13:48Z","git_url":"git://github.com/gardster/omim.git","ssh_url":"git@github.com:gardster/omim.git","clone_url":"https://github.com/gardster/omim.git","svn_url":"https://github.com/gardster/omim","homepage":null,"size":1842022,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mapsme:master","ref":"master","sha":"1998e0349481c1fccf65ea689ba823baf8c3c346","user":{"login":"mapsme","id":14185141,"avatar_url":"https://avatars.githubusercontent.com/u/14185141?v=3","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"repo":{"id":42798033,"name":"omim","full_name":"mapsme/omim","owner":{"login":"mapsme","id":14185141,"avatar_url":"https://avatars.githubusercontent.com/u/14185141?v=3","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapsme/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":false,"url":"https://api.github.com/repos/mapsme/omim","forks_url":"https://api.github.com/repos/mapsme/omim/forks","keys_url":"https://api.github.com/repos/mapsme/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapsme/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapsme/omim/teams","hooks_url":"https://api.github.com/repos/mapsme/omim/hooks","issue_events_url":"https://api.github.com/repos/mapsme/omim/issues/events{/number}","events_url":"https://api.github.com/repos/mapsme/omim/events","assignees_url":"https://api.github.com/repos/mapsme/omim/assignees{/user}","branches_url":"https://api.github.com/repos/mapsme/omim/branches{/branch}","tags_url":"https://api.github.com/repos/mapsme/omim/tags","blobs_url":"https://api.github.com/repos/mapsme/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapsme/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapsme/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapsme/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/mapsme/omim/languages","stargazers_url":"https://api.github.com/repos/mapsme/omim/stargazers","contributors_url":"https://api.github.com/repos/mapsme/omim/contributors","subscribers_url":"https://api.github.com/repos/mapsme/omim/subscribers","subscription_url":"https://api.github.com/repos/mapsme/omim/subscription","commits_url":"https://api.github.com/repos/mapsme/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapsme/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapsme/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapsme/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapsme/omim/contents/{+path}","compare_url":"https://api.github.com/repos/mapsme/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapsme/omim/merges","archive_url":"https://api.github.com/repos/mapsme/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapsme/omim/downloads","issues_url":"https://api.github.com/repos/mapsme/omim/issues{/number}","pulls_url":"https://api.github.com/repos/mapsme/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/mapsme/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/mapsme/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapsme/omim/labels{/name}","releases_url":"https://api.github.com/repos/mapsme/omim/releases{/id}","created_at":"2015-09-20T02:57:13Z","updated_at":"2015-11-17T21:47:19Z","pushed_at":"2015-11-18T08:33:00Z","git_url":"git://github.com/mapsme/omim.git","ssh_url":"git@github.com:mapsme/omim.git","clone_url":"https://github.com/mapsme/omim.git","svn_url":"https://github.com/mapsme/omim","homepage":null,"size":1868748,"stargazers_count":1480,"watchers_count":1480,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":173,"mirror_url":null,"open_issues_count":70,"forks":173,"open_issues":70,"watchers":1480,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/567"},"html":{"href":"https://github.com/mapsme/omim/pull/567"},"issue":{"href":"https://api.github.com/repos/mapsme/omim/issues/567"},"comments":{"href":"https://api.github.com/repos/mapsme/omim/issues/567/comments"},"review_comments":{"href":"https://api.github.com/repos/mapsme/omim/pulls/567/comments"},"review_comment":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapsme/omim/pulls/567/commits"},"statuses":{"href":"https://api.github.com/repos/mapsme/omim/statuses/135a8b2b1545094a14f9d7327fb540d1ba29df6a"}}}}