{"action":"created","issue":{"url":"https://api.github.com/repos/pelias/wof-admin-lookup/issues/46","repository_url":"https://api.github.com/repos/pelias/wof-admin-lookup","labels_url":"https://api.github.com/repos/pelias/wof-admin-lookup/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/pelias/wof-admin-lookup/issues/46/comments","events_url":"https://api.github.com/repos/pelias/wof-admin-lookup/issues/46/events","html_url":"https://github.com/pelias/wof-admin-lookup/pull/46","id":150898801,"number":46,"title":"Improve layer mapping","user":{"login":"orangejulius","id":111716,"avatar_url":"https://avatars.githubusercontent.com/u/111716?v=3","gravatar_id":"","url":"https://api.github.com/users/orangejulius","html_url":"https://github.com/orangejulius","followers_url":"https://api.github.com/users/orangejulius/followers","following_url":"https://api.github.com/users/orangejulius/following{/other_user}","gists_url":"https://api.github.com/users/orangejulius/gists{/gist_id}","starred_url":"https://api.github.com/users/orangejulius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orangejulius/subscriptions","organizations_url":"https://api.github.com/users/orangejulius/orgs","repos_url":"https://api.github.com/users/orangejulius/repos","events_url":"https://api.github.com/users/orangejulius/events{/privacy}","received_events_url":"https://api.github.com/users/orangejulius/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pelias/wof-admin-lookup/labels/in%20review","name":"in review","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"orangejulius","id":111716,"avatar_url":"https://avatars.githubusercontent.com/u/111716?v=3","gravatar_id":"","url":"https://api.github.com/users/orangejulius","html_url":"https://github.com/orangejulius","followers_url":"https://api.github.com/users/orangejulius/followers","following_url":"https://api.github.com/users/orangejulius/following{/other_user}","gists_url":"https://api.github.com/users/orangejulius/gists{/gist_id}","starred_url":"https://api.github.com/users/orangejulius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orangejulius/subscriptions","organizations_url":"https://api.github.com/users/orangejulius/orgs","repos_url":"https://api.github.com/users/orangejulius/repos","events_url":"https://api.github.com/users/orangejulius/events{/privacy}","received_events_url":"https://api.github.com/users/orangejulius/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-04-25T15:27:15Z","updated_at":"2016-04-25T20:02:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pelias/wof-admin-lookup/pulls/46","html_url":"https://github.com/pelias/wof-admin-lookup/pull/46","diff_url":"https://github.com/pelias/wof-admin-lookup/pull/46.diff","patch_url":"https://github.com/pelias/wof-admin-lookup/pull/46.patch"},"body":"Fix some issues with the choices of which layers to perform admin lookup against.\r\n\r\nRemoves borough lookup from locality, which was something we should never have added.\r\n\r\nFixes pelias/geonames#73 by only looking up macrocountry records against macrocountry."},"comment":{"url":"https://api.github.com/repos/pelias/wof-admin-lookup/issues/comments/214502392","html_url":"https://github.com/pelias/wof-admin-lookup/pull/46#issuecomment-214502392","issue_url":"https://api.github.com/repos/pelias/wof-admin-lookup/issues/46","id":214502392,"user":{"login":"orangejulius","id":111716,"avatar_url":"https://avatars.githubusercontent.com/u/111716?v=3","gravatar_id":"","url":"https://api.github.com/users/orangejulius","html_url":"https://github.com/orangejulius","followers_url":"https://api.github.com/users/orangejulius/followers","following_url":"https://api.github.com/users/orangejulius/following{/other_user}","gists_url":"https://api.github.com/users/orangejulius/gists{/gist_id}","starred_url":"https://api.github.com/users/orangejulius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orangejulius/subscriptions","organizations_url":"https://api.github.com/users/orangejulius/orgs","repos_url":"https://api.github.com/users/orangejulius/repos","events_url":"https://api.github.com/users/orangejulius/events{/privacy}","received_events_url":"https://api.github.com/users/orangejulius/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T20:02:40Z","updated_at":"2016-04-25T20:02:40Z","body":"@trescube: everything @dianashk said plus, remember that address and venue records have always performed admin lookup for every layer (they don't meet any cases in the switch statement, so will go with the default, which is to search all layers)."}}