{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/1229","repository_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map","labels_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/1229/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/1229/comments","events_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/1229/events","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/1229","id":175905333,"number":1229,"title":"200m Nearby Scanning","user":{"login":"khag7","id":1531746,"avatar_url":"https://avatars.githubusercontent.com/u/1531746?v=3","gravatar_id":"","url":"https://api.github.com/users/khag7","html_url":"https://github.com/khag7","followers_url":"https://api.github.com/users/khag7/followers","following_url":"https://api.github.com/users/khag7/following{/other_user}","gists_url":"https://api.github.com/users/khag7/gists{/gist_id}","starred_url":"https://api.github.com/users/khag7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khag7/subscriptions","organizations_url":"https://api.github.com/users/khag7/orgs","repos_url":"https://api.github.com/users/khag7/repos","events_url":"https://api.github.com/users/khag7/events{/privacy}","received_events_url":"https://api.github.com/users/khag7/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2016-09-09T01:30:55Z","updated_at":"2016-09-24T04:30:43Z","closed_at":"2016-09-21T04:37:05Z","pull_request":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/1229","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/1229","diff_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/1229.diff","patch_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/1229.patch"},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n## Description\r\nWhen scanning at a step distance of 200m a MUCH larger area can be covered. Existing database information (spawnpoint id and encounter id's) can be used to pinpoint a spawnpoint (lat, lng, and time) given only the encounter id from the \"nearby pokemons\" list.\r\n\r\n## Motivation and Context\r\nFaster scanning.\r\n\r\nA big part of what needs to be done to make this work is to come up with a function to pull all encounter_id's for a given spawnpoint from the db and to calculate what the expected time-based bits in the encounter_id should be right now. These can then be compared to the actual bits in the encounter_id for the nearby pokemon to determine if its a match for that spawnpoint or not.\r\n\r\nTo be even more efficient (by making less db queries) we would need to add a spawnpoints table to the db to store the encounter bit data.\r\n\r\n## How Has This Been Tested?\r\nHasn't yet, it's just a very basic plan, no code yet.\r\n\r\n## Screenshots (if appropriate):\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- [ ] 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- [ ] 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"},"comment":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/comments/249344517","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/1229#issuecomment-249344517","issue_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/1229","id":249344517,"user":{"login":"jchristi","id":642929,"avatar_url":"https://avatars.githubusercontent.com/u/642929?v=3","gravatar_id":"","url":"https://api.github.com/users/jchristi","html_url":"https://github.com/jchristi","followers_url":"https://api.github.com/users/jchristi/followers","following_url":"https://api.github.com/users/jchristi/following{/other_user}","gists_url":"https://api.github.com/users/jchristi/gists{/gist_id}","starred_url":"https://api.github.com/users/jchristi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchristi/subscriptions","organizations_url":"https://api.github.com/users/jchristi/orgs","repos_url":"https://api.github.com/users/jchristi/repos","events_url":"https://api.github.com/users/jchristi/events{/privacy}","received_events_url":"https://api.github.com/users/jchristi/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T04:30:43Z","updated_at":"2016-09-24T04:30:43Z","body":"@khag7 message me on Discord if you'd like to continue collaborating on this."}}
{"actor":{"display_login":"jchristi"}}