{"action":"created","issue":{"url":"https://api.github.com/repos/Wolfsblvt/BlossomsPokemonGoManager/issues/493","repository_url":"https://api.github.com/repos/Wolfsblvt/BlossomsPokemonGoManager","labels_url":"https://api.github.com/repos/Wolfsblvt/BlossomsPokemonGoManager/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/Wolfsblvt/BlossomsPokemonGoManager/issues/493/comments","events_url":"https://api.github.com/repos/Wolfsblvt/BlossomsPokemonGoManager/issues/493/events","html_url":"https://github.com/Wolfsblvt/BlossomsPokemonGoManager/issues/493","id":191246032,"number":493,"title":"ERROR OVER_QUERY_LIMIT","user":{"login":"poiuytrezaur","id":3758280,"avatar_url":"https://avatars.githubusercontent.com/u/3758280?v=3","gravatar_id":"","url":"https://api.github.com/users/poiuytrezaur","html_url":"https://github.com/poiuytrezaur","followers_url":"https://api.github.com/users/poiuytrezaur/followers","following_url":"https://api.github.com/users/poiuytrezaur/following{/other_user}","gists_url":"https://api.github.com/users/poiuytrezaur/gists{/gist_id}","starred_url":"https://api.github.com/users/poiuytrezaur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poiuytrezaur/subscriptions","organizations_url":"https://api.github.com/users/poiuytrezaur/orgs","repos_url":"https://api.github.com/users/poiuytrezaur/repos","events_url":"https://api.github.com/users/poiuytrezaur/events{/privacy}","received_events_url":"https://api.github.com/users/poiuytrezaur/received_events","type":"User","site_admin":false},"labels":[{"id":418117848,"url":"https://api.github.com/repos/Wolfsblvt/BlossomsPokemonGoManager/labels/question","name":"question","color":"cc317c","default":true},{"id":418117849,"url":"https://api.github.com/repos/Wolfsblvt/BlossomsPokemonGoManager/labels/wontfix%20/%20invalid","name":"wontfix / invalid","color":"000000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-23T11:25:46Z","updated_at":"2016-11-23T14:04:38Z","closed_at":null,"body":"After loading my pokemon list I had this error displayed in the pokemon list on several pokemons : caught city/caught locations : ERROR OVER_QUERY_LIMIT\r\n"},"comment":{"url":"https://api.github.com/repos/Wolfsblvt/BlossomsPokemonGoManager/issues/comments/262520494","html_url":"https://github.com/Wolfsblvt/BlossomsPokemonGoManager/issues/493#issuecomment-262520494","issue_url":"https://api.github.com/repos/Wolfsblvt/BlossomsPokemonGoManager/issues/493","id":262520494,"user":{"login":"Wolfsblvt","id":9962104,"avatar_url":"https://avatars.githubusercontent.com/u/9962104?v=3","gravatar_id":"","url":"https://api.github.com/users/Wolfsblvt","html_url":"https://github.com/Wolfsblvt","followers_url":"https://api.github.com/users/Wolfsblvt/followers","following_url":"https://api.github.com/users/Wolfsblvt/following{/other_user}","gists_url":"https://api.github.com/users/Wolfsblvt/gists{/gist_id}","starred_url":"https://api.github.com/users/Wolfsblvt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wolfsblvt/subscriptions","organizations_url":"https://api.github.com/users/Wolfsblvt/orgs","repos_url":"https://api.github.com/users/Wolfsblvt/repos","events_url":"https://api.github.com/users/Wolfsblvt/events{/privacy}","received_events_url":"https://api.github.com/users/Wolfsblvt/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T14:04:38Z","updated_at":"2016-11-23T14:04:38Z","body":"Yes. That's caused by the Google Maps API, and sadly nowhere explained in BPGM :-/\r\n\r\nI can explain it in short here. For Pokémon, the Pokemon server just returns a so-called cellId where it was caught. From that, you can calculate the geo-coordinates, which are shown in a column too.\r\n\r\nBut to get the location itself, as a text, we need to get it somewhere. For that, there exists the Google Geocode API as part of the Google Maps API. What BPGM does is send a coordinate to Google Maps and asks how the location is called, then it extracts the answer and caches it in a local `locations.json` file.\r\nThe Google API only accepts 50 requests per second though ([source](https://developers.google.com/maps/documentation/geocoding/usage-limits), to limit API overload. So if you have more than 50 different locations for your Pokémon, BPGM can only display the first 50 and displays `OVER_QUERY_LIMIT` for the rest.\r\n\r\nIf you refresh the list, the next bunch of 50 locations should be queried. Until you have all ready."}}
{"actor":{"display_login":"Wolfsblvt"}}