{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/paulmach/go.geo/pulls/9","id":27966738,"html_url":"https://github.com/paulmach/go.geo/pull/9","diff_url":"https://github.com/paulmach/go.geo/pull/9.diff","patch_url":"https://github.com/paulmach/go.geo/pull/9.patch","issue_url":"https://api.github.com/repos/paulmach/go.geo/issues/9","number":9,"state":"open","locked":false,"title":"Pre bucket geo points for clustering","user":{"login":"paulmach","id":366320,"avatar_url":"https://avatars.githubusercontent.com/u/366320?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmach","html_url":"https://github.com/paulmach","followers_url":"https://api.github.com/users/paulmach/followers","following_url":"https://api.github.com/users/paulmach/following{/other_user}","gists_url":"https://api.github.com/users/paulmach/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmach/subscriptions","organizations_url":"https://api.github.com/users/paulmach/orgs","repos_url":"https://api.github.com/users/paulmach/repos","events_url":"https://api.github.com/users/paulmach/events{/privacy}","received_events_url":"https://api.github.com/users/paulmach/received_events","type":"User","site_admin":false},"body":"The initial step for the clustering computes a O(n^2) distance between all the items. This is an attempt to pre bucket the items by quad key to be able to quickly exclude items that are not close. \r\n\r\nThis is not faster, but there are probably bugs or easy performance improvements.\r\n\r\n@mlerner","created_at":"2015-01-24T00:26:19Z","updated_at":"2015-01-24T00:26:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/paulmach/go.geo/pulls/9/commits","review_comments_url":"https://api.github.com/repos/paulmach/go.geo/pulls/9/comments","review_comment_url":"https://api.github.com/repos/paulmach/go.geo/pulls/comments/{number}","comments_url":"https://api.github.com/repos/paulmach/go.geo/issues/9/comments","statuses_url":"https://api.github.com/repos/paulmach/go.geo/statuses/3decab4b28167d338886261f65a9896654243844","head":{"label":"paulmach:pm/cluster-buckets","ref":"pm/cluster-buckets","sha":"3decab4b28167d338886261f65a9896654243844","user":{"login":"paulmach","id":366320,"avatar_url":"https://avatars.githubusercontent.com/u/366320?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmach","html_url":"https://github.com/paulmach","followers_url":"https://api.github.com/users/paulmach/followers","following_url":"https://api.github.com/users/paulmach/following{/other_user}","gists_url":"https://api.github.com/users/paulmach/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmach/subscriptions","organizations_url":"https://api.github.com/users/paulmach/orgs","repos_url":"https://api.github.com/users/paulmach/repos","events_url":"https://api.github.com/users/paulmach/events{/privacy}","received_events_url":"https://api.github.com/users/paulmach/received_events","type":"User","site_admin":false},"repo":{"id":12189583,"name":"go.geo","full_name":"paulmach/go.geo","owner":{"login":"paulmach","id":366320,"avatar_url":"https://avatars.githubusercontent.com/u/366320?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmach","html_url":"https://github.com/paulmach","followers_url":"https://api.github.com/users/paulmach/followers","following_url":"https://api.github.com/users/paulmach/following{/other_user}","gists_url":"https://api.github.com/users/paulmach/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmach/subscriptions","organizations_url":"https://api.github.com/users/paulmach/orgs","repos_url":"https://api.github.com/users/paulmach/repos","events_url":"https://api.github.com/users/paulmach/events{/privacy}","received_events_url":"https://api.github.com/users/paulmach/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulmach/go.geo","description":"Geometry/geography library in Go","fork":false,"url":"https://api.github.com/repos/paulmach/go.geo","forks_url":"https://api.github.com/repos/paulmach/go.geo/forks","keys_url":"https://api.github.com/repos/paulmach/go.geo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulmach/go.geo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulmach/go.geo/teams","hooks_url":"https://api.github.com/repos/paulmach/go.geo/hooks","issue_events_url":"https://api.github.com/repos/paulmach/go.geo/issues/events{/number}","events_url":"https://api.github.com/repos/paulmach/go.geo/events","assignees_url":"https://api.github.com/repos/paulmach/go.geo/assignees{/user}","branches_url":"https://api.github.com/repos/paulmach/go.geo/branches{/branch}","tags_url":"https://api.github.com/repos/paulmach/go.geo/tags","blobs_url":"https://api.github.com/repos/paulmach/go.geo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulmach/go.geo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulmach/go.geo/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulmach/go.geo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulmach/go.geo/statuses/{sha}","languages_url":"https://api.github.com/repos/paulmach/go.geo/languages","stargazers_url":"https://api.github.com/repos/paulmach/go.geo/stargazers","contributors_url":"https://api.github.com/repos/paulmach/go.geo/contributors","subscribers_url":"https://api.github.com/repos/paulmach/go.geo/subscribers","subscription_url":"https://api.github.com/repos/paulmach/go.geo/subscription","commits_url":"https://api.github.com/repos/paulmach/go.geo/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulmach/go.geo/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulmach/go.geo/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulmach/go.geo/issues/comments/{number}","contents_url":"https://api.github.com/repos/paulmach/go.geo/contents/{+path}","compare_url":"https://api.github.com/repos/paulmach/go.geo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulmach/go.geo/merges","archive_url":"https://api.github.com/repos/paulmach/go.geo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulmach/go.geo/downloads","issues_url":"https://api.github.com/repos/paulmach/go.geo/issues{/number}","pulls_url":"https://api.github.com/repos/paulmach/go.geo/pulls{/number}","milestones_url":"https://api.github.com/repos/paulmach/go.geo/milestones{/number}","notifications_url":"https://api.github.com/repos/paulmach/go.geo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulmach/go.geo/labels{/name}","releases_url":"https://api.github.com/repos/paulmach/go.geo/releases{/id}","created_at":"2013-08-18T03:09:46Z","updated_at":"2015-01-24T00:13:13Z","pushed_at":"2015-01-24T00:20:44Z","git_url":"git://github.com/paulmach/go.geo.git","ssh_url":"git@github.com:paulmach/go.geo.git","clone_url":"https://github.com/paulmach/go.geo.git","svn_url":"https://github.com/paulmach/go.geo","homepage":"","size":849,"stargazers_count":35,"watchers_count":35,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":35,"default_branch":"master"}},"base":{"label":"paulmach:master","ref":"master","sha":"febd9af2d16e54cc9d957493e9307688ade0df16","user":{"login":"paulmach","id":366320,"avatar_url":"https://avatars.githubusercontent.com/u/366320?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmach","html_url":"https://github.com/paulmach","followers_url":"https://api.github.com/users/paulmach/followers","following_url":"https://api.github.com/users/paulmach/following{/other_user}","gists_url":"https://api.github.com/users/paulmach/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmach/subscriptions","organizations_url":"https://api.github.com/users/paulmach/orgs","repos_url":"https://api.github.com/users/paulmach/repos","events_url":"https://api.github.com/users/paulmach/events{/privacy}","received_events_url":"https://api.github.com/users/paulmach/received_events","type":"User","site_admin":false},"repo":{"id":12189583,"name":"go.geo","full_name":"paulmach/go.geo","owner":{"login":"paulmach","id":366320,"avatar_url":"https://avatars.githubusercontent.com/u/366320?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmach","html_url":"https://github.com/paulmach","followers_url":"https://api.github.com/users/paulmach/followers","following_url":"https://api.github.com/users/paulmach/following{/other_user}","gists_url":"https://api.github.com/users/paulmach/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmach/subscriptions","organizations_url":"https://api.github.com/users/paulmach/orgs","repos_url":"https://api.github.com/users/paulmach/repos","events_url":"https://api.github.com/users/paulmach/events{/privacy}","received_events_url":"https://api.github.com/users/paulmach/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulmach/go.geo","description":"Geometry/geography library in Go","fork":false,"url":"https://api.github.com/repos/paulmach/go.geo","forks_url":"https://api.github.com/repos/paulmach/go.geo/forks","keys_url":"https://api.github.com/repos/paulmach/go.geo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulmach/go.geo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulmach/go.geo/teams","hooks_url":"https://api.github.com/repos/paulmach/go.geo/hooks","issue_events_url":"https://api.github.com/repos/paulmach/go.geo/issues/events{/number}","events_url":"https://api.github.com/repos/paulmach/go.geo/events","assignees_url":"https://api.github.com/repos/paulmach/go.geo/assignees{/user}","branches_url":"https://api.github.com/repos/paulmach/go.geo/branches{/branch}","tags_url":"https://api.github.com/repos/paulmach/go.geo/tags","blobs_url":"https://api.github.com/repos/paulmach/go.geo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulmach/go.geo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulmach/go.geo/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulmach/go.geo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulmach/go.geo/statuses/{sha}","languages_url":"https://api.github.com/repos/paulmach/go.geo/languages","stargazers_url":"https://api.github.com/repos/paulmach/go.geo/stargazers","contributors_url":"https://api.github.com/repos/paulmach/go.geo/contributors","subscribers_url":"https://api.github.com/repos/paulmach/go.geo/subscribers","subscription_url":"https://api.github.com/repos/paulmach/go.geo/subscription","commits_url":"https://api.github.com/repos/paulmach/go.geo/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulmach/go.geo/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulmach/go.geo/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulmach/go.geo/issues/comments/{number}","contents_url":"https://api.github.com/repos/paulmach/go.geo/contents/{+path}","compare_url":"https://api.github.com/repos/paulmach/go.geo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulmach/go.geo/merges","archive_url":"https://api.github.com/repos/paulmach/go.geo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulmach/go.geo/downloads","issues_url":"https://api.github.com/repos/paulmach/go.geo/issues{/number}","pulls_url":"https://api.github.com/repos/paulmach/go.geo/pulls{/number}","milestones_url":"https://api.github.com/repos/paulmach/go.geo/milestones{/number}","notifications_url":"https://api.github.com/repos/paulmach/go.geo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulmach/go.geo/labels{/name}","releases_url":"https://api.github.com/repos/paulmach/go.geo/releases{/id}","created_at":"2013-08-18T03:09:46Z","updated_at":"2015-01-24T00:13:13Z","pushed_at":"2015-01-24T00:20:44Z","git_url":"git://github.com/paulmach/go.geo.git","ssh_url":"git@github.com:paulmach/go.geo.git","clone_url":"https://github.com/paulmach/go.geo.git","svn_url":"https://github.com/paulmach/go.geo","homepage":"","size":849,"stargazers_count":35,"watchers_count":35,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paulmach/go.geo/pulls/9"},"html":{"href":"https://github.com/paulmach/go.geo/pull/9"},"issue":{"href":"https://api.github.com/repos/paulmach/go.geo/issues/9"},"comments":{"href":"https://api.github.com/repos/paulmach/go.geo/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/paulmach/go.geo/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/paulmach/go.geo/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/paulmach/go.geo/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/paulmach/go.geo/statuses/3decab4b28167d338886261f65a9896654243844"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":239,"deletions":1,"changed_files":4}}