{"action":"opened","number":2382,"pull_request":{"url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/pulls/2382","id":79108063,"html_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/2382","diff_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/2382.diff","patch_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/2382.patch","issue_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/2382","number":2382,"state":"open","locked":false,"title":"Improving step misalignment after huge step numbers","user":{"login":"medghaim","id":7801031,"avatar_url":"https://avatars.githubusercontent.com/u/7801031?v=3","gravatar_id":"","url":"https://api.github.com/users/medghaim","html_url":"https://github.com/medghaim","followers_url":"https://api.github.com/users/medghaim/followers","following_url":"https://api.github.com/users/medghaim/following{/other_user}","gists_url":"https://api.github.com/users/medghaim/gists{/gist_id}","starred_url":"https://api.github.com/users/medghaim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medghaim/subscriptions","organizations_url":"https://api.github.com/users/medghaim/orgs","repos_url":"https://api.github.com/users/medghaim/repos","events_url":"https://api.github.com/users/medghaim/events{/privacy}","received_events_url":"https://api.github.com/users/medghaim/received_events","type":"User","site_admin":false},"body":"Using a more precise method to calculate _new_ coordinates for usage in the hex generator. \r\n\r\n## Description\r\nNew function to handle the calculation of a new pair of coordinates based on an original location, a distance, and a bearing - `get_new_coords(from_loc, distance, bearing)`\r\n\r\n## Motivation and Context\r\nThis seriously reduces the misalignment in huge step numbers.\r\n\r\n## How Has This Been Tested?\r\nWith `-st 120` and `150`. In all quadrants of the earth. This doesn't 100% solve things, but seriously reduces the issue (as seen at the edge of this `-st 120` hex):\r\n![image](https://cloud.githubusercontent.com/assets/7801031/17194523/6a2b48e2-5426-11e6-97ef-9929c237aa2b.png)\r\n\r\nAs opposed to the edge of this `-st 100` hex:\r\n![image](https://cloud.githubusercontent.com/assets/7801031/17194541/7f030e30-5426-11e6-9a6c-0276a8bb84a6.png)\r\n\r\n\r\nNote, the warping only happens in 1 direction, due to map projection. \r\n\r\nThe remaining tiny gaps are (_i believe_) floating point imprecision, which can be cleaned up.\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n\r\n","created_at":"2016-07-27T22:21:08Z","updated_at":"2016-07-27T22:21:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/pulls/2382/commits","review_comments_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/pulls/2382/comments","review_comment_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/2382/comments","statuses_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/statuses/67ab29f6c5a30863a85f398c5e7804f2bde42b7c","head":{"label":"medghaim:temp","ref":"temp","sha":"67ab29f6c5a30863a85f398c5e7804f2bde42b7c","user":{"login":"medghaim","id":7801031,"avatar_url":"https://avatars.githubusercontent.com/u/7801031?v=3","gravatar_id":"","url":"https://api.github.com/users/medghaim","html_url":"https://github.com/medghaim","followers_url":"https://api.github.com/users/medghaim/followers","following_url":"https://api.github.com/users/medghaim/following{/other_user}","gists_url":"https://api.github.com/users/medghaim/gists{/gist_id}","starred_url":"https://api.github.com/users/medghaim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medghaim/subscriptions","organizations_url":"https://api.github.com/users/medghaim/orgs","repos_url":"https://api.github.com/users/medghaim/repos","events_url":"https://api.github.com/users/medghaim/events{/privacy}","received_events_url":"https://api.github.com/users/medghaim/received_events","type":"User","site_admin":false},"repo":{"id":63969111,"name":"PokemonGo-Map","full_name":"medghaim/PokemonGo-Map","owner":{"login":"medghaim","id":7801031,"avatar_url":"https://avatars.githubusercontent.com/u/7801031?v=3","gravatar_id":"","url":"https://api.github.com/users/medghaim","html_url":"https://github.com/medghaim","followers_url":"https://api.github.com/users/medghaim/followers","following_url":"https://api.github.com/users/medghaim/following{/other_user}","gists_url":"https://api.github.com/users/medghaim/gists{/gist_id}","starred_url":"https://api.github.com/users/medghaim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medghaim/subscriptions","organizations_url":"https://api.github.com/users/medghaim/orgs","repos_url":"https://api.github.com/users/medghaim/repos","events_url":"https://api.github.com/users/medghaim/events{/privacy}","received_events_url":"https://api.github.com/users/medghaim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/medghaim/PokemonGo-Map","description":"Live visualization of all the pokemon in your area... and more!","fork":true,"url":"https://api.github.com/repos/medghaim/PokemonGo-Map","forks_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/forks","keys_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/teams","hooks_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/hooks","issue_events_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/issues/events{/number}","events_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/events","assignees_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/assignees{/user}","branches_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/branches{/branch}","tags_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/tags","blobs_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/git/refs{/sha}","trees_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/statuses/{sha}","languages_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/languages","stargazers_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/stargazers","contributors_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/contributors","subscribers_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/subscribers","subscription_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/subscription","commits_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/commits{/sha}","git_commits_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/git/commits{/sha}","comments_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/comments{/number}","issue_comment_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/issues/comments{/number}","contents_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/contents/{+path}","compare_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/merges","archive_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/downloads","issues_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/issues{/number}","pulls_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/pulls{/number}","milestones_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/milestones{/number}","notifications_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/labels{/name}","releases_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/releases{/id}","deployments_url":"https://api.github.com/repos/medghaim/PokemonGo-Map/deployments","created_at":"2016-07-22T16:50:27Z","updated_at":"2016-07-22T16:50:29Z","pushed_at":"2016-07-27T22:13:26Z","git_url":"git://github.com/medghaim/PokemonGo-Map.git","ssh_url":"git@github.com:medghaim/PokemonGo-Map.git","clone_url":"https://github.com/medghaim/PokemonGo-Map.git","svn_url":"https://github.com/medghaim/PokemonGo-Map","homepage":"","size":12032,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"AHAAAAAAA:develop","ref":"develop","sha":"a85f9638ed1e31f54c33cd1044515fcbd5863275","user":{"login":"AHAAAAAAA","id":1760334,"avatar_url":"https://avatars.githubusercontent.com/u/1760334?v=3","gravatar_id":"","url":"https://api.github.com/users/AHAAAAAAA","html_url":"https://github.com/AHAAAAAAA","followers_url":"https://api.github.com/users/AHAAAAAAA/followers","following_url":"https://api.github.com/users/AHAAAAAAA/following{/other_user}","gists_url":"https://api.github.com/users/AHAAAAAAA/gists{/gist_id}","starred_url":"https://api.github.com/users/AHAAAAAAA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AHAAAAAAA/subscriptions","organizations_url":"https://api.github.com/users/AHAAAAAAA/orgs","repos_url":"https://api.github.com/users/AHAAAAAAA/repos","events_url":"https://api.github.com/users/AHAAAAAAA/events{/privacy}","received_events_url":"https://api.github.com/users/AHAAAAAAA/received_events","type":"User","site_admin":false},"repo":{"id":63488276,"name":"PokemonGo-Map","full_name":"AHAAAAAAA/PokemonGo-Map","owner":{"login":"AHAAAAAAA","id":1760334,"avatar_url":"https://avatars.githubusercontent.com/u/1760334?v=3","gravatar_id":"","url":"https://api.github.com/users/AHAAAAAAA","html_url":"https://github.com/AHAAAAAAA","followers_url":"https://api.github.com/users/AHAAAAAAA/followers","following_url":"https://api.github.com/users/AHAAAAAAA/following{/other_user}","gists_url":"https://api.github.com/users/AHAAAAAAA/gists{/gist_id}","starred_url":"https://api.github.com/users/AHAAAAAAA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AHAAAAAAA/subscriptions","organizations_url":"https://api.github.com/users/AHAAAAAAA/orgs","repos_url":"https://api.github.com/users/AHAAAAAAA/repos","events_url":"https://api.github.com/users/AHAAAAAAA/events{/privacy}","received_events_url":"https://api.github.com/users/AHAAAAAAA/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AHAAAAAAA/PokemonGo-Map","description":"🌏 Live visualization of all the pokemon in your area... and more!","fork":false,"url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map","forks_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/forks","keys_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/teams","hooks_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/hooks","issue_events_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/events{/number}","events_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/events","assignees_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/assignees{/user}","branches_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/branches{/branch}","tags_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/tags","blobs_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/git/refs{/sha}","trees_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/statuses/{sha}","languages_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/languages","stargazers_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/stargazers","contributors_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/contributors","subscribers_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/subscribers","subscription_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/subscription","commits_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/commits{/sha}","git_commits_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/git/commits{/sha}","comments_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/comments{/number}","issue_comment_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/comments{/number}","contents_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/contents/{+path}","compare_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/merges","archive_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/downloads","issues_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues{/number}","pulls_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/pulls{/number}","milestones_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/milestones{/number}","notifications_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/labels{/name}","releases_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/releases{/id}","deployments_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/deployments","created_at":"2016-07-16T15:06:33Z","updated_at":"2016-07-27T22:20:48Z","pushed_at":"2016-07-27T22:04:46Z","git_url":"git://github.com/AHAAAAAAA/PokemonGo-Map.git","ssh_url":"git@github.com:AHAAAAAAA/PokemonGo-Map.git","clone_url":"https://github.com/AHAAAAAAA/PokemonGo-Map.git","svn_url":"https://github.com/AHAAAAAAA/PokemonGo-Map","homepage":"https://jz6.github.io/PoGoMap/","size":120430,"stargazers_count":7911,"watchers_count":7911,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2818,"mirror_url":null,"open_issues_count":500,"forks":2818,"open_issues":500,"watchers":7911,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/pulls/2382"},"html":{"href":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/2382"},"issue":{"href":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/2382"},"comments":{"href":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/2382/comments"},"review_comments":{"href":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/pulls/2382/comments"},"review_comment":{"href":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/pulls/2382/commits"},"statuses":{"href":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/statuses/67ab29f6c5a30863a85f398c5e7804f2bde42b7c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":47,"deletions":42,"changed_files":1}}
{"actor":{"display_login":"medghaim"}}