{"action":"created","issue":{"url":"https://api.github.com/repos/azavea/raster-foundry/issues/335","labels_url":"https://api.github.com/repos/azavea/raster-foundry/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/azavea/raster-foundry/issues/335/comments","events_url":"https://api.github.com/repos/azavea/raster-foundry/issues/335/events","html_url":"https://github.com/azavea/raster-foundry/pull/335","id":115978778,"number":335,"title":"Feature/lol/image metadata","user":{"login":"lliss","id":903219,"avatar_url":"https://avatars.githubusercontent.com/u/903219?v=3","gravatar_id":"","url":"https://api.github.com/users/lliss","html_url":"https://github.com/lliss","followers_url":"https://api.github.com/users/lliss/followers","following_url":"https://api.github.com/users/lliss/following{/other_user}","gists_url":"https://api.github.com/users/lliss/gists{/gist_id}","starred_url":"https://api.github.com/users/lliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lliss/subscriptions","organizations_url":"https://api.github.com/users/lliss/orgs","repos_url":"https://api.github.com/users/lliss/repos","events_url":"https://api.github.com/users/lliss/events{/privacy}","received_events_url":"https://api.github.com/users/lliss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/azavea/raster-foundry/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"lewfish","id":1896461,"avatar_url":"https://avatars.githubusercontent.com/u/1896461?v=3","gravatar_id":"","url":"https://api.github.com/users/lewfish","html_url":"https://github.com/lewfish","followers_url":"https://api.github.com/users/lewfish/followers","following_url":"https://api.github.com/users/lewfish/following{/other_user}","gists_url":"https://api.github.com/users/lewfish/gists{/gist_id}","starred_url":"https://api.github.com/users/lewfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewfish/subscriptions","organizations_url":"https://api.github.com/users/lewfish/orgs","repos_url":"https://api.github.com/users/lewfish/repos","events_url":"https://api.github.com/users/lewfish/events{/privacy}","received_events_url":"https://api.github.com/users/lewfish/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-09T22:09:24Z","updated_at":"2015-11-10T17:05:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/azavea/raster-foundry/pulls/335","html_url":"https://github.com/azavea/raster-foundry/pull/335","diff_url":"https://github.com/azavea/raster-foundry/pull/335.diff","patch_url":"https://github.com/azavea/raster-foundry/pull/335.patch"},"body":"Connects #330 \r\n\r\nThis re-enables the image metadata panel and populates it with the exif data pulled from the tiff.\r\nRetrieving the metadata is done at two places: first, during image validation and second during thumbnailing. During validation we have access to gdal's opened copy of the image. At this point we retrieve the geodata from the tif. During thumbnailing, since we have the entire image already on disc, we read it and grab the exif data at that time. During layer thumbnail generation we calculate the layer's bounding box since we have all the images already verified and thus they should all have bounding boxes.\r\n\r\n### To test:\r\n * Upload layers\r\n * Once complete, view the layer details and click on the images tab.\r\n * Click the \"image metadata\" link on each image in the list to see the metadata.\r\n * Check the database to see that the bounding boxes have been added to the layer and layer images."},"comment":{"url":"https://api.github.com/repos/azavea/raster-foundry/issues/comments/155488490","html_url":"https://github.com/azavea/raster-foundry/pull/335#issuecomment-155488490","issue_url":"https://api.github.com/repos/azavea/raster-foundry/issues/335","id":155488490,"user":{"login":"kdeloach","id":43062,"avatar_url":"https://avatars.githubusercontent.com/u/43062?v=3","gravatar_id":"","url":"https://api.github.com/users/kdeloach","html_url":"https://github.com/kdeloach","followers_url":"https://api.github.com/users/kdeloach/followers","following_url":"https://api.github.com/users/kdeloach/following{/other_user}","gists_url":"https://api.github.com/users/kdeloach/gists{/gist_id}","starred_url":"https://api.github.com/users/kdeloach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdeloach/subscriptions","organizations_url":"https://api.github.com/users/kdeloach/orgs","repos_url":"https://api.github.com/users/kdeloach/repos","events_url":"https://api.github.com/users/kdeloach/events{/privacy}","received_events_url":"https://api.github.com/users/kdeloach/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T17:05:08Z","updated_at":"2015-11-10T17:05:08Z","body":"+1"}}