{"action":"closed","issue":{"url":"https://api.github.com/repos/opennorth/sfm-proxy/issues/4","labels_url":"https://api.github.com/repos/opennorth/sfm-proxy/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/opennorth/sfm-proxy/issues/4/comments","events_url":"https://api.github.com/repos/opennorth/sfm-proxy/issues/4/events","html_url":"https://github.com/opennorth/sfm-proxy/issues/4","id":90182112,"number":4,"title":"Set an event's and site's coordinates to the lower admin level's centroid","user":{"login":"jpmckinney","id":26463,"avatar_url":"https://avatars.githubusercontent.com/u/26463?v=3","gravatar_id":"","url":"https://api.github.com/users/jpmckinney","html_url":"https://github.com/jpmckinney","followers_url":"https://api.github.com/users/jpmckinney/followers","following_url":"https://api.github.com/users/jpmckinney/following{/other_user}","gists_url":"https://api.github.com/users/jpmckinney/gists{/gist_id}","starred_url":"https://api.github.com/users/jpmckinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpmckinney/subscriptions","organizations_url":"https://api.github.com/users/jpmckinney/orgs","repos_url":"https://api.github.com/users/jpmckinney/repos","events_url":"https://api.github.com/users/jpmckinney/events{/privacy}","received_events_url":"https://api.github.com/users/jpmckinney/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opennorth/sfm-proxy/labels/Import","name":"Import","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-22T18:59:40Z","updated_at":"2015-10-16T06:13:04Z","closed_at":"2015-10-16T06:13:04Z","body":"* [x] Go through `todo` to replace use of old, imported `geo` field\r\n\r\n> Search: organizations and people should always have an area, a site or a nearby site, with at least lng/lat coordinates (ideally a GeoJSON feature) so that they can be mapped\r\n\r\nCan add coordinates to:\r\n* [x] `/countries/:id/search/organizations` `site_present`\r\n* [x] `/countries/:id/search/people` `membership_present.organization.site_present`\r\n\r\n> Organization/Person detail: areas, sites and event_nearby don't have any GeoJSON feature or lng/lat couple, so we can't populate the Minimap\r\n\r\nCan add coordinates to:\r\n* [x] `/people/:id` `area_present`\r\n* [x] `/people/:id` `site_present`\r\n* [x] `/people/:id` `events`\r\n* [x] `/people/:id` `events_nearby`\r\n* [x] `/organizations/:id` `events`\r\n* [x] `/organizations/:id` `areas`\r\n* [x] `/organizations/:id` `sites`\r\n* [x] `/organizations/:id` `events_nearby`\r\n\r\n> Clustering: anything that needs to be clustered should have a lat/lng coordinate (centroid if it is a polygon). We'll be able to do clustering on the front-end for <1K elements.\r\n\r\nNeed to know where specifically lat/lng coordinates are missing."}}