{"action":"created","issue":{"url":"https://api.github.com/repos/EOL/tramea/issues/214","repository_url":"https://api.github.com/repos/EOL/tramea","labels_url":"https://api.github.com/repos/EOL/tramea/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/EOL/tramea/issues/214/comments","events_url":"https://api.github.com/repos/EOL/tramea/issues/214/events","html_url":"https://github.com/EOL/tramea/issues/214","id":141367421,"number":214,"title":"[8] Enabling new GBIF maps","user":{"login":"jhammock","id":3026567,"avatar_url":"https://avatars.githubusercontent.com/u/3026567?v=3","gravatar_id":"","url":"https://api.github.com/users/jhammock","html_url":"https://github.com/jhammock","followers_url":"https://api.github.com/users/jhammock/followers","following_url":"https://api.github.com/users/jhammock/following{/other_user}","gists_url":"https://api.github.com/users/jhammock/gists{/gist_id}","starred_url":"https://api.github.com/users/jhammock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhammock/subscriptions","organizations_url":"https://api.github.com/users/jhammock/orgs","repos_url":"https://api.github.com/users/jhammock/repos","events_url":"https://api.github.com/users/jhammock/events{/privacy}","received_events_url":"https://api.github.com/users/jhammock/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/EOL/tramea/labels/priority","name":"priority","color":"159818"},{"url":"https://api.github.com/repos/EOL/tramea/labels/V2%20wrap%20up","name":"V2 wrap up","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"JRice","id":24174,"avatar_url":"https://avatars.githubusercontent.com/u/24174?v=3","gravatar_id":"","url":"https://api.github.com/users/JRice","html_url":"https://github.com/JRice","followers_url":"https://api.github.com/users/JRice/followers","following_url":"https://api.github.com/users/JRice/following{/other_user}","gists_url":"https://api.github.com/users/JRice/gists{/gist_id}","starred_url":"https://api.github.com/users/JRice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JRice/subscriptions","organizations_url":"https://api.github.com/users/JRice/orgs","repos_url":"https://api.github.com/users/JRice/repos","events_url":"https://api.github.com/users/JRice/events{/privacy}","received_events_url":"https://api.github.com/users/JRice/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/EOL/tramea/milestones/14","html_url":"https://github.com/EOL/tramea/milestones/2016.03.22","labels_url":"https://api.github.com/repos/EOL/tramea/milestones/14/labels","id":1658284,"number":14,"title":"2016.03.22","description":"","creator":{"login":"jhammock","id":3026567,"avatar_url":"https://avatars.githubusercontent.com/u/3026567?v=3","gravatar_id":"","url":"https://api.github.com/users/jhammock","html_url":"https://github.com/jhammock","followers_url":"https://api.github.com/users/jhammock/followers","following_url":"https://api.github.com/users/jhammock/following{/other_user}","gists_url":"https://api.github.com/users/jhammock/gists{/gist_id}","starred_url":"https://api.github.com/users/jhammock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhammock/subscriptions","organizations_url":"https://api.github.com/users/jhammock/orgs","repos_url":"https://api.github.com/users/jhammock/repos","events_url":"https://api.github.com/users/jhammock/events{/privacy}","received_events_url":"https://api.github.com/users/jhammock/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":12,"state":"open","created_at":"2016-03-21T19:45:09Z","updated_at":"2016-03-29T16:43:50Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-03-16T18:50:45Z","updated_at":"2016-03-29T18:58:19Z","closed_at":null,"body":"We will be ready shortly to attempt to replace the GBIF maps we are missing so sorely. Probably best to try a sample in beta.eol.org first. @eliagbayani , @JRice , please clarify anything I missed.\r\n\r\nImplementation clues, from @eliagbayani:\r\n\r\nThe incertae sedis group is now ready. And a way to load maps in eol.org Maps tab is here:\r\nhttps://dl.dropboxusercontent.com/u/7597512/maps/zip/eol_maps.zip\r\nSpecifically in: [/sample EoL/eol1.html].\r\n\r\nOf course Jeremy (and/or BA team) will call the maps differently using front-end script (Ruby on Rails).\r\nMy example is just purely HTML. \r\nBut the main files (javascript, css, sample HTML) to show the map is already in the zip file. \r\nI'm sure our developers will easily understand how the maps are called.\r\n\r\nAlso as you've noticed, the map is called using the taxon_concept_ID. <script src=\"../data/284202.json\"></script>\r\nPossibly, we may want to have a new Yes/No field in our database [withGoogleMapYN] so the code will know which taxon has a map."},"comment":{"url":"https://api.github.com/repos/EOL/tramea/issues/comments/203050905","html_url":"https://github.com/EOL/tramea/issues/214#issuecomment-203050905","issue_url":"https://api.github.com/repos/EOL/tramea/issues/214","id":203050905,"user":{"login":"JRice","id":24174,"avatar_url":"https://avatars.githubusercontent.com/u/24174?v=3","gravatar_id":"","url":"https://api.github.com/users/JRice","html_url":"https://github.com/JRice","followers_url":"https://api.github.com/users/JRice/followers","following_url":"https://api.github.com/users/JRice/following{/other_user}","gists_url":"https://api.github.com/users/JRice/gists{/gist_id}","starred_url":"https://api.github.com/users/JRice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JRice/subscriptions","organizations_url":"https://api.github.com/users/JRice/orgs","repos_url":"https://api.github.com/users/JRice/repos","events_url":"https://api.github.com/users/JRice/events{/privacy}","received_events_url":"https://api.github.com/users/JRice/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T18:58:19Z","updated_at":"2016-03-29T18:58:19Z","body":"Okay, we're now serving the batch of JSON Eli handed to me. **not on the site**, I just mean \"raw JSON\", so we can move from there.\r\n\r\nTo avoid having a million files in one directory, I modulo the ID by 100 and put it in a subdir based on the result.  e.g.:  http://media.eol.org/content/maps/0/119900.json or http://media.eol.org/content/maps/42/203942.json\r\n\r\n...I've also written MOST of the code required to store the hasMap bit in the DB and to render it on the site... except for the code to render it on the site.  ;)  ...and also the code to add the list of IDs we have to the DB.\r\n\r\nIn other words: there is more to do, but we're off to a good start."}}