{"action":"created","comment":{"url":"https://api.github.com/repos/mapsme/omim/pulls/comments/98655863","pull_request_review_id":19302468,"id":98655863,"diff_hunk":"@@ -0,0 +1,45 @@\n+#pragma once\n+\n+#include \"platform/country_file.hpp\"\n+\n+#include \"base/assert.hpp\"\n+#include \"base/checked_cast.hpp\"\n+\n+#include <cstdint>\n+#include <map>\n+#include <vector>\n+\n+namespace storage\n+{\n+using NumMwmId = std::uint16_t;\n+\n+class NumMwmIds final","path":"storage/mwm_id.hpp","position":16,"original_position":16,"commit_id":"49ac1340eea7355b59c2948a7cd4e4c3f933abe3","original_commit_id":"8ad8e773ad535265c60f9dc7055e734dfb2efb02","user":{"login":"dobriy-eeh","id":19839790,"avatar_url":"https://avatars.githubusercontent.com/u/19839790?v=3","gravatar_id":"","url":"https://api.github.com/users/dobriy-eeh","html_url":"https://github.com/dobriy-eeh","followers_url":"https://api.github.com/users/dobriy-eeh/followers","following_url":"https://api.github.com/users/dobriy-eeh/following{/other_user}","gists_url":"https://api.github.com/users/dobriy-eeh/gists{/gist_id}","starred_url":"https://api.github.com/users/dobriy-eeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dobriy-eeh/subscriptions","organizations_url":"https://api.github.com/users/dobriy-eeh/orgs","repos_url":"https://api.github.com/users/dobriy-eeh/repos","events_url":"https://api.github.com/users/dobriy-eeh/events{/privacy}","received_events_url":"https://api.github.com/users/dobriy-eeh/received_events","type":"User","site_admin":false},"body":"Никак.\r\nНо в рамках решаемой задачи это и не требуется: роутинг лочит фиксированную версию mwm и работает с ней.","created_at":"2017-01-31T12:26:29Z","updated_at":"2017-01-31T12:26:29Z","html_url":"https://github.com/mapsme/omim/pull/5317#discussion_r98655863","pull_request_url":"https://api.github.com/repos/mapsme/omim/pulls/5317","_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments/98655863"},"html":{"href":"https://github.com/mapsme/omim/pull/5317#discussion_r98655863"},"pull_request":{"href":"https://api.github.com/repos/mapsme/omim/pulls/5317"}}},"pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/5317","id":103910973,"html_url":"https://github.com/mapsme/omim/pull/5317","diff_url":"https://github.com/mapsme/omim/pull/5317.diff","patch_url":"https://github.com/mapsme/omim/pull/5317.patch","issue_url":"https://api.github.com/repos/mapsme/omim/issues/5317","number":5317,"state":"open","locked":false,"title":"[routing] numeric mwm id","user":{"login":"dobriy-eeh","id":19839790,"avatar_url":"https://avatars.githubusercontent.com/u/19839790?v=3","gravatar_id":"","url":"https://api.github.com/users/dobriy-eeh","html_url":"https://github.com/dobriy-eeh","followers_url":"https://api.github.com/users/dobriy-eeh/followers","following_url":"https://api.github.com/users/dobriy-eeh/following{/other_user}","gists_url":"https://api.github.com/users/dobriy-eeh/gists{/gist_id}","starred_url":"https://api.github.com/users/dobriy-eeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dobriy-eeh/subscriptions","organizations_url":"https://api.github.com/users/dobriy-eeh/orgs","repos_url":"https://api.github.com/users/dobriy-eeh/repos","events_url":"https://api.github.com/users/dobriy-eeh/events{/privacy}","received_events_url":"https://api.github.com/users/dobriy-eeh/received_events","type":"User","site_admin":false},"body":"Добавил целочисленный идентификатор mwm.\r\n\r\nОн нужен для эффективной идентификации сегментов дорог на всем земном шаре.\r\nЭто будет использоваться в cross mwm роутинге.","created_at":"2017-01-31T10:50:32Z","updated_at":"2017-01-31T12:26:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f2d15019aad7c843433e6d14b9fe0feb4d3dc19","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mapsme/omim/pulls/5317/commits","review_comments_url":"https://api.github.com/repos/mapsme/omim/pulls/5317/comments","review_comment_url":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/5317/comments","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/49ac1340eea7355b59c2948a7cd4e4c3f933abe3","head":{"label":"dobriy-eeh:mwm-id","ref":"mwm-id","sha":"49ac1340eea7355b59c2948a7cd4e4c3f933abe3","user":{"login":"dobriy-eeh","id":19839790,"avatar_url":"https://avatars.githubusercontent.com/u/19839790?v=3","gravatar_id":"","url":"https://api.github.com/users/dobriy-eeh","html_url":"https://github.com/dobriy-eeh","followers_url":"https://api.github.com/users/dobriy-eeh/followers","following_url":"https://api.github.com/users/dobriy-eeh/following{/other_user}","gists_url":"https://api.github.com/users/dobriy-eeh/gists{/gist_id}","starred_url":"https://api.github.com/users/dobriy-eeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dobriy-eeh/subscriptions","organizations_url":"https://api.github.com/users/dobriy-eeh/orgs","repos_url":"https://api.github.com/users/dobriy-eeh/repos","events_url":"https://api.github.com/users/dobriy-eeh/events{/privacy}","received_events_url":"https://api.github.com/users/dobriy-eeh/received_events","type":"User","site_admin":false},"repo":{"id":69439216,"name":"omim","full_name":"dobriy-eeh/omim","owner":{"login":"dobriy-eeh","id":19839790,"avatar_url":"https://avatars.githubusercontent.com/u/19839790?v=3","gravatar_id":"","url":"https://api.github.com/users/dobriy-eeh","html_url":"https://github.com/dobriy-eeh","followers_url":"https://api.github.com/users/dobriy-eeh/followers","following_url":"https://api.github.com/users/dobriy-eeh/following{/other_user}","gists_url":"https://api.github.com/users/dobriy-eeh/gists{/gist_id}","starred_url":"https://api.github.com/users/dobriy-eeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dobriy-eeh/subscriptions","organizations_url":"https://api.github.com/users/dobriy-eeh/orgs","repos_url":"https://api.github.com/users/dobriy-eeh/repos","events_url":"https://api.github.com/users/dobriy-eeh/events{/privacy}","received_events_url":"https://api.github.com/users/dobriy-eeh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dobriy-eeh/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":true,"url":"https://api.github.com/repos/dobriy-eeh/omim","forks_url":"https://api.github.com/repos/dobriy-eeh/omim/forks","keys_url":"https://api.github.com/repos/dobriy-eeh/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dobriy-eeh/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dobriy-eeh/omim/teams","hooks_url":"https://api.github.com/repos/dobriy-eeh/omim/hooks","issue_events_url":"https://api.github.com/repos/dobriy-eeh/omim/issues/events{/number}","events_url":"https://api.github.com/repos/dobriy-eeh/omim/events","assignees_url":"https://api.github.com/repos/dobriy-eeh/omim/assignees{/user}","branches_url":"https://api.github.com/repos/dobriy-eeh/omim/branches{/branch}","tags_url":"https://api.github.com/repos/dobriy-eeh/omim/tags","blobs_url":"https://api.github.com/repos/dobriy-eeh/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dobriy-eeh/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dobriy-eeh/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/dobriy-eeh/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dobriy-eeh/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/dobriy-eeh/omim/languages","stargazers_url":"https://api.github.com/repos/dobriy-eeh/omim/stargazers","contributors_url":"https://api.github.com/repos/dobriy-eeh/omim/contributors","subscribers_url":"https://api.github.com/repos/dobriy-eeh/omim/subscribers","subscription_url":"https://api.github.com/repos/dobriy-eeh/omim/subscription","commits_url":"https://api.github.com/repos/dobriy-eeh/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/dobriy-eeh/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/dobriy-eeh/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/dobriy-eeh/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/dobriy-eeh/omim/contents/{+path}","compare_url":"https://api.github.com/repos/dobriy-eeh/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dobriy-eeh/omim/merges","archive_url":"https://api.github.com/repos/dobriy-eeh/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dobriy-eeh/omim/downloads","issues_url":"https://api.github.com/repos/dobriy-eeh/omim/issues{/number}","pulls_url":"https://api.github.com/repos/dobriy-eeh/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/dobriy-eeh/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/dobriy-eeh/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dobriy-eeh/omim/labels{/name}","releases_url":"https://api.github.com/repos/dobriy-eeh/omim/releases{/id}","deployments_url":"https://api.github.com/repos/dobriy-eeh/omim/deployments","created_at":"2016-09-28T07:49:37Z","updated_at":"2016-09-28T07:51:12Z","pushed_at":"2017-01-31T12:15:50Z","git_url":"git://github.com/dobriy-eeh/omim.git","ssh_url":"git@github.com:dobriy-eeh/omim.git","clone_url":"https://github.com/dobriy-eeh/omim.git","svn_url":"https://github.com/dobriy-eeh/omim","homepage":null,"size":2879882,"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":"1029dd2e11b08544cde2474856d2414da8ccaff2","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 and Android","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}","deployments_url":"https://api.github.com/repos/mapsme/omim/deployments","created_at":"2015-09-20T02:57:13Z","updated_at":"2017-01-31T06:18:32Z","pushed_at":"2017-01-31T12:15:52Z","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":"","size":2915870,"stargazers_count":2135,"watchers_count":2135,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":425,"mirror_url":null,"open_issues_count":402,"forks":425,"open_issues":402,"watchers":2135,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/5317"},"html":{"href":"https://github.com/mapsme/omim/pull/5317"},"issue":{"href":"https://api.github.com/repos/mapsme/omim/issues/5317"},"comments":{"href":"https://api.github.com/repos/mapsme/omim/issues/5317/comments"},"review_comments":{"href":"https://api.github.com/repos/mapsme/omim/pulls/5317/comments"},"review_comment":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapsme/omim/pulls/5317/commits"},"statuses":{"href":"https://api.github.com/repos/mapsme/omim/statuses/49ac1340eea7355b59c2948a7cd4e4c3f933abe3"}}}}
{"actor":{"display_login":"dobriy-eeh"}}