{"action":"created","issue":{"url":"https://api.github.com/repos/hotosm/oam-uploader/issues/40","repository_url":"https://api.github.com/repos/hotosm/oam-uploader","labels_url":"https://api.github.com/repos/hotosm/oam-uploader/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/hotosm/oam-uploader/issues/40/comments","events_url":"https://api.github.com/repos/hotosm/oam-uploader/issues/40/events","html_url":"https://github.com/hotosm/oam-uploader/issues/40","id":170902449,"number":40,"title":"Improve imagery location selection","user":{"login":"smit1678","id":796838,"avatar_url":"https://avatars.githubusercontent.com/u/796838?v=3","gravatar_id":"","url":"https://api.github.com/users/smit1678","html_url":"https://github.com/smit1678","followers_url":"https://api.github.com/users/smit1678/followers","following_url":"https://api.github.com/users/smit1678/following{/other_user}","gists_url":"https://api.github.com/users/smit1678/gists{/gist_id}","starred_url":"https://api.github.com/users/smit1678/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smit1678/subscriptions","organizations_url":"https://api.github.com/users/smit1678/orgs","repos_url":"https://api.github.com/users/smit1678/repos","events_url":"https://api.github.com/users/smit1678/events{/privacy}","received_events_url":"https://api.github.com/users/smit1678/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T15:52:48Z","updated_at":"2016-09-06T22:53:44Z","closed_at":null,"body":"Uploading imagery has a couple barriers, one of them being the requirement of having the imagery stored somewhere publicly accessible - a file server, Dropbox, Google Drive, etc. A challenge with Dropbox and Google Drive is that direct download links are hidden. If you select a share URL from these services, the uploader will error when trying to consume the data. \r\n\r\n![](https://api.monosnap.com/rpc/file/download?id=gBUSU2IN0dXnlyuHCAm4FWbLwZBBtY)\r\n\r\nGoal here is to improve the process. Give better instructions for how the imagery needs to be temporarily stored somewhere like Dropbox, make it foolproof to fill out the form and contribute imagery. \r\n\r\nNeed to draft an outline for how this could be improved. Some of the ideas thought about draw some inspiration from how HDX has improved their workflow: http://docs.humdata.org/adding-data-is-now-easier-on-hdx/#more-2496. Discussion on github [here](https://github.com/OCHA-DAP/hdx-ckan/issues/3889). \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hotosm/oam-uploader/issues/comments/245121096","html_url":"https://github.com/hotosm/oam-uploader/issues/40#issuecomment-245121096","issue_url":"https://api.github.com/repos/hotosm/oam-uploader/issues/40","id":245121096,"user":{"login":"danielfdsilva","id":1090606,"avatar_url":"https://avatars.githubusercontent.com/u/1090606?v=3","gravatar_id":"","url":"https://api.github.com/users/danielfdsilva","html_url":"https://github.com/danielfdsilva","followers_url":"https://api.github.com/users/danielfdsilva/followers","following_url":"https://api.github.com/users/danielfdsilva/following{/other_user}","gists_url":"https://api.github.com/users/danielfdsilva/gists{/gist_id}","starred_url":"https://api.github.com/users/danielfdsilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielfdsilva/subscriptions","organizations_url":"https://api.github.com/users/danielfdsilva/orgs","repos_url":"https://api.github.com/users/danielfdsilva/repos","events_url":"https://api.github.com/users/danielfdsilva/events{/privacy}","received_events_url":"https://api.github.com/users/danielfdsilva/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T22:53:44Z","updated_at":"2016-09-06T22:53:44Z","body":"Been looking into the gdrive situation.\r\nThe library used for the image download ([request](https://github.com/request/request)) seems to indeed be able to handle redirects and does it by default (according to the docs).\r\n\r\nUsing the google picker we are able to get a download link that does not require authentication but only for files that are publicly available. We'd need to add this note somewhere. Much like described here: https://github.com/OCHA-DAP/hdx-ckan/issues/3889#issuecomment-172260200\r\n\r\n@smit1678 thoughts? "}}
{"actor":{"display_login":"danielfdsilva"}}