{"action":"closed","issue":{"url":"https://api.github.com/repos/seikur0/PGO-mapscan-opt/issues/234","repository_url":"https://api.github.com/repos/seikur0/PGO-mapscan-opt","labels_url":"https://api.github.com/repos/seikur0/PGO-mapscan-opt/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/seikur0/PGO-mapscan-opt/issues/234/comments","events_url":"https://api.github.com/repos/seikur0/PGO-mapscan-opt/issues/234/events","html_url":"https://github.com/seikur0/PGO-mapscan-opt/issues/234","id":178684206,"number":234,"title":"seikur0_spir plan not working. Number of locations incorrect","user":{"login":"Pedromanuelsilva","id":9056953,"avatar_url":"https://avatars.githubusercontent.com/u/9056953?v=3","gravatar_id":"","url":"https://api.github.com/users/Pedromanuelsilva","html_url":"https://github.com/Pedromanuelsilva","followers_url":"https://api.github.com/users/Pedromanuelsilva/followers","following_url":"https://api.github.com/users/Pedromanuelsilva/following{/other_user}","gists_url":"https://api.github.com/users/Pedromanuelsilva/gists{/gist_id}","starred_url":"https://api.github.com/users/Pedromanuelsilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pedromanuelsilva/subscriptions","organizations_url":"https://api.github.com/users/Pedromanuelsilva/orgs","repos_url":"https://api.github.com/users/Pedromanuelsilva/repos","events_url":"https://api.github.com/users/Pedromanuelsilva/events{/privacy}","received_events_url":"https://api.github.com/users/Pedromanuelsilva/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-22T18:23:30Z","updated_at":"2016-09-22T18:36:45Z","closed_at":"2016-09-22T18:36:45Z","body":"when subdividing my scan area into seikur0_spir plans it doesn't calculate the number of locations correctly.\r\n\r\nwhen running:\r\n`python main0.py -hx -r 6 -lat [LAT1] -lng [LNG1]`\r\n\r\nit outputs `Distributing 127 locations to 4 threads.`\r\n\r\nif i try to run a seikur0_spir plan it outputs `Distributing 18 locations to 4 threads.` \r\n\r\nAccording to darkforcesjedi formula from #182 , \r\n\r\n> The number of tiles in a grid with \"L\" layers is N=3L(L+1)+1.\r\n\r\nthat gives 127 for a 6 layers hexagon\r\n\r\nMy plan:\r\n\r\n```\r\n{\r\n \"type\": \"seikur0_spir\",\r\n \"location\": [LAT1,LNG1],\r\n \"range\": 6,\r\n \"subplans\": 7,\r\n \"subplan_index\": 1\r\n}\r\n```\r\n\r\n\r\n"}}
{"actor":{"display_login":"seikur0"}}