{"action":"created","comment":{"url":"https://api.github.com/repos/mapbox/carmen/pulls/comments/25369948","id":25369948,"diff_hunk":"@@ -30,6 +30,14 @@ module.exports.zxy = function(id, zxy) {\n     return ((zxy[1]|0) * mp39) + ((zxy[2]|0) * mp25) + id;\n };\n \n+module.exports.grid = function(grid) {\n+    return {\n+        x: Math.floor(grid / mp39 / 10),\n+        y: Math.floor(grid % mp39 / mp25 / 10),\n+        id: Math.floor(grid % mp25)\n+    };\n+};\n+","path":"lib/util/ops.js","position":11,"original_position":11,"commit_id":"1b4870af613f61e9ae5d41b1a6310ffe0e58afbd","original_commit_id":"1b4870af613f61e9ae5d41b1a6310ffe0e58afbd","user":{"login":"yhahn","id":83384,"avatar_url":"https://avatars.githubusercontent.com/u/83384?v=3","gravatar_id":"","url":"https://api.github.com/users/yhahn","html_url":"https://github.com/yhahn","followers_url":"https://api.github.com/users/yhahn/followers","following_url":"https://api.github.com/users/yhahn/following{/other_user}","gists_url":"https://api.github.com/users/yhahn/gists{/gist_id}","starred_url":"https://api.github.com/users/yhahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhahn/subscriptions","organizations_url":"https://api.github.com/users/yhahn/orgs","repos_url":"https://api.github.com/users/yhahn/repos","events_url":"https://api.github.com/users/yhahn/events{/privacy}","received_events_url":"https://api.github.com/users/yhahn/received_events","type":"User","site_admin":false},"body":"is this used anymore?","created_at":"2015-02-25T19:24:38Z","updated_at":"2015-02-25T19:24:38Z","html_url":"https://github.com/mapbox/carmen/pull/221#discussion_r25369948","pull_request_url":"https://api.github.com/repos/mapbox/carmen/pulls/221","_links":{"self":{"href":"https://api.github.com/repos/mapbox/carmen/pulls/comments/25369948"},"html":{"href":"https://github.com/mapbox/carmen/pull/221#discussion_r25369948"},"pull_request":{"href":"https://api.github.com/repos/mapbox/carmen/pulls/221"}}},"pull_request":{"url":"https://api.github.com/repos/mapbox/carmen/pulls/221","id":30009315,"html_url":"https://github.com/mapbox/carmen/pull/221","diff_url":"https://github.com/mapbox/carmen/pull/221.diff","patch_url":"https://github.com/mapbox/carmen/pull/221.patch","issue_url":"https://api.github.com/repos/mapbox/carmen/issues/221","number":221,"state":"open","locked":false,"title":"Debug options [WIP]","user":{"login":"ingalls","id":1297009,"avatar_url":"https://avatars.githubusercontent.com/u/1297009?v=3","gravatar_id":"","url":"https://api.github.com/users/ingalls","html_url":"https://github.com/ingalls","followers_url":"https://api.github.com/users/ingalls/followers","following_url":"https://api.github.com/users/ingalls/following{/other_user}","gists_url":"https://api.github.com/users/ingalls/gists{/gist_id}","starred_url":"https://api.github.com/users/ingalls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingalls/subscriptions","organizations_url":"https://api.github.com/users/ingalls/orgs","repos_url":"https://api.github.com/users/ingalls/repos","events_url":"https://api.github.com/users/ingalls/events{/privacy}","received_events_url":"https://api.github.com/users/ingalls/received_events","type":"User","site_admin":false},"body":"See #220 for more information","created_at":"2015-02-25T17:51:38Z","updated_at":"2015-02-25T19:24:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71a2abe1a6321ee24a937e76d460d21a035af063","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/carmen/pulls/221/commits","review_comments_url":"https://api.github.com/repos/mapbox/carmen/pulls/221/comments","review_comment_url":"https://api.github.com/repos/mapbox/carmen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/carmen/issues/221/comments","statuses_url":"https://api.github.com/repos/mapbox/carmen/statuses/1b4870af613f61e9ae5d41b1a6310ffe0e58afbd","head":{"label":"mapbox:poi","ref":"poi","sha":"1b4870af613f61e9ae5d41b1a6310ffe0e58afbd","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":4587149,"name":"carmen","full_name":"mapbox/carmen","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/carmen","description":"Mapnik vector tile-based geocoder with support for swappable data sources","fork":false,"url":"https://api.github.com/repos/mapbox/carmen","forks_url":"https://api.github.com/repos/mapbox/carmen/forks","keys_url":"https://api.github.com/repos/mapbox/carmen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/carmen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/carmen/teams","hooks_url":"https://api.github.com/repos/mapbox/carmen/hooks","issue_events_url":"https://api.github.com/repos/mapbox/carmen/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/carmen/events","assignees_url":"https://api.github.com/repos/mapbox/carmen/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/carmen/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/carmen/tags","blobs_url":"https://api.github.com/repos/mapbox/carmen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/carmen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/carmen/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/carmen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/carmen/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/carmen/languages","stargazers_url":"https://api.github.com/repos/mapbox/carmen/stargazers","contributors_url":"https://api.github.com/repos/mapbox/carmen/contributors","subscribers_url":"https://api.github.com/repos/mapbox/carmen/subscribers","subscription_url":"https://api.github.com/repos/mapbox/carmen/subscription","commits_url":"https://api.github.com/repos/mapbox/carmen/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/carmen/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/carmen/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/carmen/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/carmen/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/carmen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/carmen/merges","archive_url":"https://api.github.com/repos/mapbox/carmen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/carmen/downloads","issues_url":"https://api.github.com/repos/mapbox/carmen/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/carmen/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/carmen/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/carmen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/carmen/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/carmen/releases{/id}","created_at":"2012-06-07T15:50:21Z","updated_at":"2015-02-23T23:18:10Z","pushed_at":"2015-02-25T19:21:06Z","git_url":"git://github.com/mapbox/carmen.git","ssh_url":"git@github.com:mapbox/carmen.git","clone_url":"https://github.com/mapbox/carmen.git","svn_url":"https://github.com/mapbox/carmen","homepage":"","size":17987,"stargazers_count":74,"watchers_count":74,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":23,"forks":13,"open_issues":23,"watchers":74,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"b058feb21ed873fcbf3847299ba8230f7d0365e5","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":4587149,"name":"carmen","full_name":"mapbox/carmen","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/carmen","description":"Mapnik vector tile-based geocoder with support for swappable data sources","fork":false,"url":"https://api.github.com/repos/mapbox/carmen","forks_url":"https://api.github.com/repos/mapbox/carmen/forks","keys_url":"https://api.github.com/repos/mapbox/carmen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/carmen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/carmen/teams","hooks_url":"https://api.github.com/repos/mapbox/carmen/hooks","issue_events_url":"https://api.github.com/repos/mapbox/carmen/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/carmen/events","assignees_url":"https://api.github.com/repos/mapbox/carmen/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/carmen/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/carmen/tags","blobs_url":"https://api.github.com/repos/mapbox/carmen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/carmen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/carmen/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/carmen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/carmen/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/carmen/languages","stargazers_url":"https://api.github.com/repos/mapbox/carmen/stargazers","contributors_url":"https://api.github.com/repos/mapbox/carmen/contributors","subscribers_url":"https://api.github.com/repos/mapbox/carmen/subscribers","subscription_url":"https://api.github.com/repos/mapbox/carmen/subscription","commits_url":"https://api.github.com/repos/mapbox/carmen/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/carmen/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/carmen/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/carmen/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/carmen/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/carmen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/carmen/merges","archive_url":"https://api.github.com/repos/mapbox/carmen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/carmen/downloads","issues_url":"https://api.github.com/repos/mapbox/carmen/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/carmen/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/carmen/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/carmen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/carmen/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/carmen/releases{/id}","created_at":"2012-06-07T15:50:21Z","updated_at":"2015-02-23T23:18:10Z","pushed_at":"2015-02-25T19:21:06Z","git_url":"git://github.com/mapbox/carmen.git","ssh_url":"git@github.com:mapbox/carmen.git","clone_url":"https://github.com/mapbox/carmen.git","svn_url":"https://github.com/mapbox/carmen","homepage":"","size":17987,"stargazers_count":74,"watchers_count":74,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":23,"forks":13,"open_issues":23,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/carmen/pulls/221"},"html":{"href":"https://github.com/mapbox/carmen/pull/221"},"issue":{"href":"https://api.github.com/repos/mapbox/carmen/issues/221"},"comments":{"href":"https://api.github.com/repos/mapbox/carmen/issues/221/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/carmen/pulls/221/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/carmen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/carmen/pulls/221/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/carmen/statuses/1b4870af613f61e9ae5d41b1a6310ffe0e58afbd"}}}}