{"action":"created","comment":{"url":"https://api.github.com/repos/mapsme/omim/pulls/comments/77806895","id":77806895,"diff_hunk":"@@ -0,0 +1,215 @@\n+#include \"map/chart_generator.hpp\"\n+\n+#include \"base/assert.hpp\"\n+\n+#include \"std/algorithm.hpp\"\n+#include \"std/fstream.hpp\"\n+\n+#include \"3party/agg/agg_conv_curve.h\"\n+#include \"3party/agg/agg_conv_stroke.h\"\n+#include \"3party/agg/agg_path_storage.h\"\n+#include \"3party/agg/agg_pixfmt_rgba.h\"\n+#include \"3party/agg/agg_rasterizer_scanline_aa.h\"\n+#include \"3party/agg/agg_renderer_primitives.h\"\n+#include \"3party/agg/agg_renderer_scanline.h\"\n+#include \"3party/agg/agg_scanline_p.h\"\n+\n+namespace\n+{\n+template <class Color, class Order>\n+struct BlendAdaptor\n+{\n+  using order_type = Order;\n+  using color_type = Color;\n+  using TValueType = typename color_type::value_type;\n+  using TCalcType = typename color_type::calc_type;\n+\n+  enum\n+  {\n+    ScaleShift = color_type::base_shift,\n+    ScaleMask = color_type::base_mask,\n+  };\n+\n+  static AGG_INLINE void blend_pix(unsigned op, TValueType * p, unsigned cr, unsigned cg,\n+                                   unsigned cb, unsigned ca, unsigned cover)\n+  {\n+    using TBlendTable = agg::comp_op_table_rgba<Color, Order>;\n+    if (p[Order::A])\n+    {\n+      TBlendTable::g_comp_op_func[op](p, (cr * ca + ScaleMask) >> ScaleShift,\n+                                      (cg * ca + ScaleMask) >> ScaleShift,\n+                                      (cb * ca + ScaleMask) >> ScaleShift, ca, cover);\n+    }\n+    else\n+    {\n+      TBlendTable::g_comp_op_func[op](p, cr, cg, cb, ca, cover);\n+    }\n+  }\n+};\n+}  // namespace\n+\n+void NormalizeChartData(deque<double> const & distanceDataM,\n+                        feature::TAltitudes const & altitudeDataM, size_t resultPointCount,\n+                        vector<double> & uniformAltitudeDataM)\n+{\n+  uniformAltitudeDataM.clear();\n+  if (distanceDataM.empty() || resultPointCount == 0 ||\n+      distanceDataM.size() != altitudeDataM.size())\n+    return;\n+\n+  if (!is_sorted(distanceDataM.cbegin(), distanceDataM.cend()))\n+  {\n+    LOG(LERROR, (\"Route segment distances are not sorted.\"));\n+    return;\n+  }\n+\n+  uniformAltitudeDataM.resize(resultPointCount);\n+  double const routeLenM = distanceDataM.back();\n+  double const stepLenM = routeLenM / static_cast<double>(resultPointCount - 1);\n+\n+  auto const calculateAltitude = [&](double distFormStartM) {\n+    if (distFormStartM <= distanceDataM.front())\n+      return static_cast<double>(altitudeDataM.front());\n+    if (distFormStartM >= distanceDataM.back())\n+      return static_cast<double>(altitudeDataM.back());\n+\n+    auto const lowerIt = lower_bound(distanceDataM.cbegin(), distanceDataM.cend(), distFormStartM);\n+    if (lowerIt == distanceDataM.cbegin())\n+      return static_cast<double>(altitudeDataM.front());\n+    if (lowerIt == distanceDataM.cend())\n+      return static_cast<double>(altitudeDataM.back());\n+\n+    size_t const nextPointIdx = distance(distanceDataM.cbegin(), lowerIt);\n+    CHECK_LESS(0, nextPointIdx, ());\n+    size_t const prevPointIdx = nextPointIdx - 1;\n+\n+    if (distanceDataM[prevPointIdx] == distanceDataM[nextPointIdx])\n+      return static_cast<double>(altitudeDataM[prevPointIdx]);\n+\n+    double const k = (altitudeDataM[nextPointIdx] - altitudeDataM[prevPointIdx]) /\n+                     (distanceDataM[nextPointIdx] - distanceDataM[prevPointIdx]);\n+    return static_cast<double>(altitudeDataM[prevPointIdx]) +\n+           k * (distFormStartM - distanceDataM[prevPointIdx]);\n+  };\n+\n+  uniformAltitudeDataM.resize(resultPointCount);\n+  for (size_t i = 0; i < resultPointCount; ++i)\n+    uniformAltitudeDataM[i] = calculateAltitude(static_cast<double>(i) * stepLenM);\n+}\n+\n+void GenerateYAxisChartData(size_t height, double minMetersPerPxl,\n+                            vector<double> const & altitudeDataM, vector<double> & yAxisDataPxl)\n+{\n+  uint32_t constexpr kHeightIndentPxl = 2.0;\n+  yAxisDataPxl.clear();\n+  uint32_t heightIndent = kHeightIndentPxl;\n+  if (height <= 2 * kHeightIndentPxl)\n+  {\n+    LOG(LERROR, (\"Chart height is less then 2 * kHeightIndentPxl (\", 2 * kHeightIndentPxl, \")\"));\n+    heightIndent = 0;\n+  }\n+\n+  auto const minMaxAltitudeIt = minmax_element(altitudeDataM.begin(), altitudeDataM.end());\n+  double const minAltM = *minMaxAltitudeIt.first;\n+  double const maxAltM = *minMaxAltitudeIt.second;\n+  double const deltaAltM = maxAltM - minAltM;\n+  uint32_t const drawHeightPxl = height - 2 * heightIndent;\n+  double const meterPerPxl = max(minMetersPerPxl, deltaAltM / static_cast<double>(drawHeightPxl));\n+  if (meterPerPxl == 0.0)\n+  {\n+    LOG(LERROR, (\"meterPerPxl == 0.0\"));\n+    return;\n+  }\n+\n+  size_t const altitudeDataSz = altitudeDataM.size();\n+  yAxisDataPxl.resize(altitudeDataSz);\n+  for (size_t i = 0; i < altitudeDataSz; ++i)\n+    yAxisDataPxl[i] = height - heightIndent - (altitudeDataM[i] - minAltM) / meterPerPxl;\n+}\n+\n+void GenerateChartByPoints(size_t width, size_t height, vector<m2::PointD> const & geometry,\n+                           bool day, vector<uint8_t> & frameBuffer)\n+{\n+  frameBuffer.clear();\n+  if (width == 0 || height == 0 || geometry.empty())\n+    return;\n+\n+  agg::rgba8 const kBackgroundColor = agg::rgba8(255, 255, 255, 0);\n+  agg::rgba8 const kLineColor =\n+      day ? agg::rgba8(30, 150, 240, 255) : agg::rgba8(255, 230, 140, 255);\n+  agg::rgba8 const kCurveColor = day ? agg::rgba8(30, 150, 240, 20) : agg::rgba8(255, 230, 140, 20);\n+  double constexpr kLineWidthPxl = 2.0;\n+  uint32_t constexpr kBPP = 4;\n+\n+  using TBlender = BlendAdaptor<agg::rgba8, agg::order_rgba>;\n+  using TPixelFormat = agg::pixfmt_custom_blend_rgba<TBlender, agg::rendering_buffer>;\n+  using TBaseRenderer = agg::renderer_base<TPixelFormat>;\n+  using TPrimitivesRenderer = agg::renderer_primitives<TBaseRenderer>;\n+  using TSolidRenderer = agg::renderer_scanline_aa_solid<TBaseRenderer>;\n+  using TPath = agg::poly_container_adaptor<vector<m2::PointD>>;\n+  using TStroke = agg::conv_stroke<TPath>;\n+\n+  agg::rendering_buffer renderBuffer;\n+  TPixelFormat pixelFormat(renderBuffer, agg::comp_op_src_over);\n+  TBaseRenderer m_baseRenderer(pixelFormat);\n+\n+  frameBuffer.assign(width * kBPP * height, 0);\n+  renderBuffer.attach(&frameBuffer[0], static_cast<unsigned int>(width),\n+                      static_cast<unsigned int>(height), static_cast<int>(width * kBPP));\n+  m_baseRenderer.reset_clipping(true);\n+  unsigned op = pixelFormat.comp_op();\n+  pixelFormat.comp_op(agg::comp_op_src);\n+  m_baseRenderer.clear(kBackgroundColor);\n+  pixelFormat.comp_op(op);\n+\n+  agg::rasterizer_scanline_aa<> rasterizer;\n+  rasterizer.clip_box(0, 0, width, height);\n+\n+  // Polygon under chart line.\n+  agg::path_storage underChartGeometryPath;\n+  underChartGeometryPath.move_to(geometry.front().x, static_cast<double>(height));\n+  for (auto const & p : geometry)\n+    underChartGeometryPath.line_to(p.x, p.y);\n+  underChartGeometryPath.line_to(geometry.back().x, static_cast<double>(height));\n+  underChartGeometryPath.close_polygon();\n+\n+  agg::conv_curve<agg::path_storage> curve(underChartGeometryPath);","path":"map/chart_generator.cpp","position":176,"original_position":176,"commit_id":"177d357cd352b637e1e71ca7ea2dbd4cefc4c9a9","original_commit_id":"3cec327ff75f79b0e7fd69c403ceba6a45d18bd1","user":{"login":"bykoianko","id":1768114,"avatar_url":"https://avatars.githubusercontent.com/u/1768114?v=3","gravatar_id":"","url":"https://api.github.com/users/bykoianko","html_url":"https://github.com/bykoianko","followers_url":"https://api.github.com/users/bykoianko/followers","following_url":"https://api.github.com/users/bykoianko/following{/other_user}","gists_url":"https://api.github.com/users/bykoianko/gists{/gist_id}","starred_url":"https://api.github.com/users/bykoianko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bykoianko/subscriptions","organizations_url":"https://api.github.com/users/bykoianko/orgs","repos_url":"https://api.github.com/users/bykoianko/repos","events_url":"https://api.github.com/users/bykoianko/events{/privacy}","received_events_url":"https://api.github.com/users/bykoianko/received_events","type":"User","site_admin":false},"body":"AGG is not a supported library. As far as I'm aware the last commit to it was made at 2005.","created_at":"2016-09-07T11:51:04Z","updated_at":"2016-09-07T11:51:04Z","html_url":"https://github.com/mapsme/omim/pull/4193#discussion_r77806895","pull_request_url":"https://api.github.com/repos/mapsme/omim/pulls/4193","_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments/77806895"},"html":{"href":"https://github.com/mapsme/omim/pull/4193#discussion_r77806895"},"pull_request":{"href":"https://api.github.com/repos/mapsme/omim/pulls/4193"}}},"pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/4193","id":83643139,"html_url":"https://github.com/mapsme/omim/pull/4193","diff_url":"https://github.com/mapsme/omim/pull/4193.diff","patch_url":"https://github.com/mapsme/omim/pull/4193.patch","issue_url":"https://api.github.com/repos/mapsme/omim/issues/4193","number":4193,"state":"open","locked":false,"title":"Generating route altitude chart image.","user":{"login":"bykoianko","id":1768114,"avatar_url":"https://avatars.githubusercontent.com/u/1768114?v=3","gravatar_id":"","url":"https://api.github.com/users/bykoianko","html_url":"https://github.com/bykoianko","followers_url":"https://api.github.com/users/bykoianko/followers","following_url":"https://api.github.com/users/bykoianko/following{/other_user}","gists_url":"https://api.github.com/users/bykoianko/gists{/gist_id}","starred_url":"https://api.github.com/users/bykoianko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bykoianko/subscriptions","organizations_url":"https://api.github.com/users/bykoianko/orgs","repos_url":"https://api.github.com/users/bykoianko/repos","events_url":"https://api.github.com/users/bykoianko/events{/privacy}","received_events_url":"https://api.github.com/users/bykoianko/received_events","type":"User","site_admin":false},"body":"Генерация диаграммы изменения высоты маршрута. В ядре. agg. \r\nТесты.\r\n\r\n@rokuz @ygorshenin @igrechuhin  PTAL","created_at":"2016-09-01T14:28:28Z","updated_at":"2016-09-07T11:51:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2adfe977f112f2afa6a3cbce09655f613e23e2c4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mapsme/omim/pulls/4193/commits","review_comments_url":"https://api.github.com/repos/mapsme/omim/pulls/4193/comments","review_comment_url":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/4193/comments","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/177d357cd352b637e1e71ca7ea2dbd4cefc4c9a9","head":{"label":"bykoianko:master-generating-route-altitude-chart-image","ref":"master-generating-route-altitude-chart-image","sha":"177d357cd352b637e1e71ca7ea2dbd4cefc4c9a9","user":{"login":"bykoianko","id":1768114,"avatar_url":"https://avatars.githubusercontent.com/u/1768114?v=3","gravatar_id":"","url":"https://api.github.com/users/bykoianko","html_url":"https://github.com/bykoianko","followers_url":"https://api.github.com/users/bykoianko/followers","following_url":"https://api.github.com/users/bykoianko/following{/other_user}","gists_url":"https://api.github.com/users/bykoianko/gists{/gist_id}","starred_url":"https://api.github.com/users/bykoianko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bykoianko/subscriptions","organizations_url":"https://api.github.com/users/bykoianko/orgs","repos_url":"https://api.github.com/users/bykoianko/repos","events_url":"https://api.github.com/users/bykoianko/events{/privacy}","received_events_url":"https://api.github.com/users/bykoianko/received_events","type":"User","site_admin":false},"repo":{"id":43428862,"name":"omim","full_name":"bykoianko/omim","owner":{"login":"bykoianko","id":1768114,"avatar_url":"https://avatars.githubusercontent.com/u/1768114?v=3","gravatar_id":"","url":"https://api.github.com/users/bykoianko","html_url":"https://github.com/bykoianko","followers_url":"https://api.github.com/users/bykoianko/followers","following_url":"https://api.github.com/users/bykoianko/following{/other_user}","gists_url":"https://api.github.com/users/bykoianko/gists{/gist_id}","starred_url":"https://api.github.com/users/bykoianko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bykoianko/subscriptions","organizations_url":"https://api.github.com/users/bykoianko/orgs","repos_url":"https://api.github.com/users/bykoianko/repos","events_url":"https://api.github.com/users/bykoianko/events{/privacy}","received_events_url":"https://api.github.com/users/bykoianko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bykoianko/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":true,"url":"https://api.github.com/repos/bykoianko/omim","forks_url":"https://api.github.com/repos/bykoianko/omim/forks","keys_url":"https://api.github.com/repos/bykoianko/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bykoianko/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bykoianko/omim/teams","hooks_url":"https://api.github.com/repos/bykoianko/omim/hooks","issue_events_url":"https://api.github.com/repos/bykoianko/omim/issues/events{/number}","events_url":"https://api.github.com/repos/bykoianko/omim/events","assignees_url":"https://api.github.com/repos/bykoianko/omim/assignees{/user}","branches_url":"https://api.github.com/repos/bykoianko/omim/branches{/branch}","tags_url":"https://api.github.com/repos/bykoianko/omim/tags","blobs_url":"https://api.github.com/repos/bykoianko/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bykoianko/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bykoianko/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/bykoianko/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bykoianko/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/bykoianko/omim/languages","stargazers_url":"https://api.github.com/repos/bykoianko/omim/stargazers","contributors_url":"https://api.github.com/repos/bykoianko/omim/contributors","subscribers_url":"https://api.github.com/repos/bykoianko/omim/subscribers","subscription_url":"https://api.github.com/repos/bykoianko/omim/subscription","commits_url":"https://api.github.com/repos/bykoianko/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/bykoianko/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/bykoianko/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/bykoianko/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/bykoianko/omim/contents/{+path}","compare_url":"https://api.github.com/repos/bykoianko/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bykoianko/omim/merges","archive_url":"https://api.github.com/repos/bykoianko/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bykoianko/omim/downloads","issues_url":"https://api.github.com/repos/bykoianko/omim/issues{/number}","pulls_url":"https://api.github.com/repos/bykoianko/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/bykoianko/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/bykoianko/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bykoianko/omim/labels{/name}","releases_url":"https://api.github.com/repos/bykoianko/omim/releases{/id}","deployments_url":"https://api.github.com/repos/bykoianko/omim/deployments","created_at":"2015-09-30T11:21:20Z","updated_at":"2016-03-24T12:55:17Z","pushed_at":"2016-09-07T11:32:08Z","git_url":"git://github.com/bykoianko/omim.git","ssh_url":"git@github.com:bykoianko/omim.git","clone_url":"https://github.com/bykoianko/omim.git","svn_url":"https://github.com/bykoianko/omim","homepage":null,"size":2635646,"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":"d1c09dee99fea872e5b90a13db85e75bb0ae3bb8","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}","deployments_url":"https://api.github.com/repos/mapsme/omim/deployments","created_at":"2015-09-20T02:57:13Z","updated_at":"2016-09-07T09:52:22Z","pushed_at":"2016-09-07T11:49:44Z","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":2748973,"stargazers_count":1966,"watchers_count":1966,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":349,"mirror_url":null,"open_issues_count":300,"forks":349,"open_issues":300,"watchers":1966,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/4193"},"html":{"href":"https://github.com/mapsme/omim/pull/4193"},"issue":{"href":"https://api.github.com/repos/mapsme/omim/issues/4193"},"comments":{"href":"https://api.github.com/repos/mapsme/omim/issues/4193/comments"},"review_comments":{"href":"https://api.github.com/repos/mapsme/omim/pulls/4193/comments"},"review_comment":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapsme/omim/pulls/4193/commits"},"statuses":{"href":"https://api.github.com/repos/mapsme/omim/statuses/177d357cd352b637e1e71ca7ea2dbd4cefc4c9a9"}}}}
{"actor":{"display_login":"bykoianko"}}