{"action":"created","comment":{"url":"https://api.github.com/repos/mapsme/omim/pulls/comments/41766796","id":41766796,"diff_hunk":"@@ -0,0 +1,298 @@\n+#include \"car_model.hpp\"\n+#include \"osrm_helpers.hpp\"\n+\n+#include \"indexer/scales.hpp\"\n+\n+#include \"geometry/distance.hpp\"\n+\n+namespace routing\n+{\n+namespace helpers\n+{\n+// static\n+void Point2PhantomNode::FindNearestSegment(FeatureType const & ft, m2::PointD const & point,\n+                                           Candidate & res)\n+{\n+  ft.ParseGeometry(FeatureType::BEST_GEOMETRY);\n+\n+  size_t const count = ft.GetPointsCount();\n+  uint32_t const featureId = ft.GetID().m_index;\n+  ASSERT_GREATER(count, 1, ());\n+  for (size_t i = 1; i < count; ++i)\n+  {\n+    m2::ProjectionToSection<m2::PointD> segProj;\n+    segProj.SetBounds(ft.GetPoint(i - 1), ft.GetPoint(i));\n+\n+    m2::PointD const pt = segProj(point);\n+    double const d = point.SquareLength(pt);\n+    if (d < res.m_dist)\n+    {\n+      res.m_dist = d;\n+      res.m_fid = featureId;\n+      res.m_segIdx = static_cast<uint32_t>(i - 1);\n+      res.m_point = pt;\n+    }\n+  }\n+}\n+\n+void Point2PhantomNode::operator()(FeatureType const & ft)\n+{\n+  if (ft.GetFeatureType() != feature::GEOM_LINE || !CarModel::Instance().IsRoad(ft))\n+    return;\n+\n+  Candidate res;\n+\n+  FindNearestSegment(ft, m_point, res);\n+\n+  if (res.m_fid != kInvalidFid)\n+    m_candidates.push_back(res);\n+}\n+\n+double Point2PhantomNode::CalculateDistance(OsrmMappingTypes::FtSeg const & s) const\n+{\n+  ASSERT_NOT_EQUAL(s.m_pointStart, s.m_pointEnd, ());\n+\n+  Index::FeaturesLoaderGuard loader(m_index, m_routingMapping.GetMwmId());\n+  FeatureType ft;\n+  loader.GetFeatureByIndex(s.m_fid, ft);\n+  ft.ParseGeometry(FeatureType::BEST_GEOMETRY);\n+\n+  double distMeters = 0.0;\n+  size_t const n = max(s.m_pointEnd, s.m_pointStart);\n+  size_t i = min(s.m_pointStart, s.m_pointEnd) + 1;\n+  do\n+  {\n+    distMeters += MercatorBounds::DistanceOnEarth(ft.GetPoint(i - 1), ft.GetPoint(i));\n+    ++i;\n+  } while (i <= n);\n+\n+  return distMeters;\n+}\n+\n+void Point2PhantomNode::CalculateWeight(OsrmMappingTypes::FtSeg const & seg,\n+                                        m2::PointD const & segPt, NodeID const & nodeId,\n+                                        bool calcFromLeft, int & weight) const\n+{\n+  // nodeId can be INVALID_NODE_ID when reverse node is absent. This node has no weight.\n+  if (nodeId == INVALID_NODE_ID || m_routingMapping.m_dataFacade.GetOutDegree(nodeId) == 0)\n+  {\n+    weight = 0;\n+    return;\n+  }\n+\n+  // Offset is measured in milliseconds. We don't know about speed restrictions on the road.\n+  // So we find it by a whole edge weight.\n+  // Distance from the node border to the projection point in meters.\n+  double distance = 0;\n+  auto const range = m_routingMapping.m_segMapping.GetSegmentsRange(nodeId);\n+  OsrmMappingTypes::FtSeg segment;\n+\n+  size_t startIndex = calcFromLeft ? range.second - 1 : range.first;\n+  size_t endIndex = calcFromLeft ? range.first - 1 : range.second;\n+  int indexIncrement = calcFromLeft ? -1 : 1;\n+\n+  for (size_t segmentIndex = startIndex; segmentIndex != endIndex; segmentIndex += indexIncrement)\n+  {\n+    m_routingMapping.m_segMapping.GetSegmentByIndex(segmentIndex, segment);\n+    if (!segment.IsValid())\n+      continue;\n+\n+    if (segment.m_fid == seg.m_fid && OsrmMappingTypes::IsInside(segment, seg))\n+    {\n+      distance += CalculateDistance(OsrmMappingTypes::SplitSegment(segment, seg, calcFromLeft));\n+      break;\n+    }\n+\n+    distance += CalculateDistance(segment);\n+  }\n+\n+  Index::FeaturesLoaderGuard loader(m_index, m_routingMapping.GetMwmId());\n+  FeatureType ft;\n+  loader.GetFeatureByIndex(seg.m_fid, ft);\n+  ft.ParseGeometry(FeatureType::BEST_GEOMETRY);\n+\n+  // node.m_seg always forward ordered (m_pointStart < m_pointEnd)\n+  distance -= MercatorBounds::DistanceOnEarth(\n+      ft.GetPoint(calcFromLeft ? seg.m_pointEnd : seg.m_pointStart), segPt);\n+\n+  // Whole node distance in meters.\n+  double fullDistanceM = 0.0;\n+  for (size_t segmentIndex = startIndex; segmentIndex != endIndex; segmentIndex += indexIncrement)\n+  {\n+    m_routingMapping.m_segMapping.GetSegmentByIndex(segmentIndex, segment);\n+    if (!segment.IsValid())\n+      continue;\n+    fullDistanceM += CalculateDistance(segment);\n+  }\n+\n+  ASSERT_GREATER(fullDistanceM, 0, (\"No valid segments on the edge.\"));\n+  double const ratio = (fullDistanceM == 0) ? 0 : distance / fullDistanceM;\n+  ASSERT_LESS_OR_EQUAL(ratio, 1., ());\n+\n+  // Minimal OSRM edge weight in milliseconds.\n+  EdgeWeight minWeight = 0;\n+\n+  if (segment.IsValid())\n+  {\n+    FeatureType ft;\n+    loader.GetFeatureByIndex(segment.m_fid, ft);\n+    ft.ParseGeometry(FeatureType::BEST_GEOMETRY);\n+    minWeight = GetMinNodeWeight(nodeId, ft.GetPoint(segment.m_pointEnd));\n+  }\n+  weight = max(static_cast<int>(minWeight * ratio), 0);\n+}\n+\n+EdgeWeight Point2PhantomNode::GetMinNodeWeight(NodeID node, m2::PointD const & point) const\n+{\n+  double const kReadCrossEpsilon = 1.0E-4;\n+  EdgeWeight minWeight = numeric_limits<EdgeWeight>::max();\n+  // Geting nodes by geometry.\n+  vector<NodeID> geomNodes;\n+  Point2Node p2n(m_routingMapping, geomNodes);\n+\n+  m_index.ForEachInRectForMWM(p2n,\n+                              m2::RectD(point.x - kReadCrossEpsilon, point.y - kReadCrossEpsilon,\n+                                        point.x + kReadCrossEpsilon, point.y + kReadCrossEpsilon),\n+                              scales::GetUpperScale(), m_routingMapping.GetMwmId());\n+\n+  sort(geomNodes.begin(), geomNodes.end());\n+  geomNodes.erase(unique(geomNodes.begin(), geomNodes.end()), geomNodes.end());\n+\n+  // Filtering virtual edges.\n+  for (EdgeID const e : m_routingMapping.m_dataFacade.GetAdjacentEdgeRange(node))\n+  {\n+    QueryEdge::EdgeData const data = m_routingMapping.m_dataFacade.GetEdgeData(e, node);\n+    if (data.forward && !data.shortcut)\n+    {\n+      minWeight = min(minWeight, data.distance);\n+    }\n+  }\n+\n+  for (NodeID const adjacentNode : geomNodes)\n+  {\n+    if (adjacentNode == node)\n+      continue;\n+    for (EdgeID const e : m_routingMapping.m_dataFacade.GetAdjacentEdgeRange(adjacentNode))\n+    {\n+      if (m_routingMapping.m_dataFacade.GetTarget(e) != node)\n+        continue;\n+      QueryEdge::EdgeData const data = m_routingMapping.m_dataFacade.GetEdgeData(e, adjacentNode);\n+      if (!data.shortcut && data.backward)\n+        minWeight = min(minWeight, data.distance);\n+    }\n+  }\n+  // If we can't determine edge weight.\n+  if (minWeight == numeric_limits<EdgeWeight>::max())\n+    return 0;\n+  return minWeight;\n+}\n+\n+void Point2PhantomNode::MakeResult(vector<FeatureGraphNode> & res, size_t maxCount,\n+                                   string const & mwmName)\n+{\n+  vector<OsrmMappingTypes::FtSeg> segments;\n+\n+  segments.resize(maxCount);\n+\n+  OsrmFtSegMapping::FtSegSetT segmentSet;\n+  sort(m_candidates.begin(), m_candidates.end(), [](Candidate const & r1, Candidate const & r2)\n+       {\n+         return (r1.m_dist < r2.m_dist);\n+       });\n+\n+  size_t const n = min(m_candidates.size(), maxCount);\n+  for (size_t j = 0; j < n; ++j)\n+  {\n+    OsrmMappingTypes::FtSeg & seg = segments[j];\n+    Candidate const & c = m_candidates[j];\n+\n+    seg.m_fid = c.m_fid;\n+    seg.m_pointStart = c.m_segIdx;\n+    seg.m_pointEnd = c.m_segIdx + 1;\n+\n+    segmentSet.insert(&seg);\n+  }\n+\n+  OsrmFtSegMapping::OsrmNodesT nodes;\n+  m_routingMapping.m_segMapping.GetOsrmNodes(segmentSet, nodes);\n+\n+  res.clear();\n+  res.resize(maxCount);\n+\n+  for (size_t j = 0; j < maxCount; ++j)\n+  {\n+    size_t const idx = j;","path":"routing/osrm_helpers.cpp","position":224,"original_position":224,"commit_id":"2212b69936f2c1a8ad4dc448a96b3433c70510f7","original_commit_id":"2212b69936f2c1a8ad4dc448a96b3433c70510f7","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":"Зачем j писать в idx?","created_at":"2015-10-12T15:14:32Z","updated_at":"2015-10-12T15:14:32Z","html_url":"https://github.com/mapsme/omim/pull/175#discussion_r41766796","pull_request_url":"https://api.github.com/repos/mapsme/omim/pulls/175","_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments/41766796"},"html":{"href":"https://github.com/mapsme/omim/pull/175#discussion_r41766796"},"pull_request":{"href":"https://api.github.com/repos/mapsme/omim/pulls/175"}}},"pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/175","id":47259812,"html_url":"https://github.com/mapsme/omim/pull/175","diff_url":"https://github.com/mapsme/omim/pull/175.diff","patch_url":"https://github.com/mapsme/omim/pull/175.patch","issue_url":"https://api.github.com/repos/mapsme/omim/issues/175","number":175,"state":"open","locked":false,"title":"Router start weight fix.","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":"Refactor and repair code of the start and the end nodes weight calculation. After this PR only one routing_integration_test will failing.","created_at":"2015-10-09T11:13:19Z","updated_at":"2015-10-12T15:14:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c44348e0442a06cfd3eb36085980496144f6f627","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapsme/omim/pulls/175/commits","review_comments_url":"https://api.github.com/repos/mapsme/omim/pulls/175/comments","review_comment_url":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/175/comments","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/2212b69936f2c1a8ad4dc448a96b3433c70510f7","head":{"label":"gardster:router_start_weight_fix","ref":"router_start_weight_fix","sha":"2212b69936f2c1a8ad4dc448a96b3433c70510f7","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-10-12T14:04:05Z","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":1766050,"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":"14449517aca471a2ead887eff4732f5320e6d14a","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-10-12T14:04:08Z","pushed_at":"2015-10-12T15:01:54Z","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":1787848,"stargazers_count":1261,"watchers_count":1261,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":125,"mirror_url":null,"open_issues_count":38,"forks":125,"open_issues":38,"watchers":1261,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/175"},"html":{"href":"https://github.com/mapsme/omim/pull/175"},"issue":{"href":"https://api.github.com/repos/mapsme/omim/issues/175"},"comments":{"href":"https://api.github.com/repos/mapsme/omim/issues/175/comments"},"review_comments":{"href":"https://api.github.com/repos/mapsme/omim/pulls/175/comments"},"review_comment":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapsme/omim/pulls/175/commits"},"statuses":{"href":"https://api.github.com/repos/mapsme/omim/statuses/2212b69936f2c1a8ad4dc448a96b3433c70510f7"}}}}