<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to add data from Google Drive to AGOL notebook in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1044941#M5902</link>
    <description>&lt;P&gt;Dear DanPatterson&lt;/P&gt;&lt;P&gt;there are about 400 images (448 x 448 size) in the zip file that I need to read into the python code to further train a deep learning model.&lt;/P&gt;&lt;P&gt;Pop-up is usually part of the webmap and thus I cannot use it in my case&lt;/P&gt;</description>
    <pubDate>Thu, 08 Apr 2021 04:15:52 GMT</pubDate>
    <dc:creator>KyawNaingWin</dc:creator>
    <dc:date>2021-04-08T04:15:52Z</dc:date>
    <item>
      <title>How to add data from Google Drive to AGOL notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1044534#M5893</link>
      <description>&lt;P&gt;I have problem uploading my imagechips as zip into notebook for model training. It failed uploading. Maybe it was due to slow internet connection (or something else).&lt;/P&gt;&lt;P&gt;Since I do not find any module/scripts to attach drive to AGOL notebook (as in colab and kaggel), I was thinking to download the zip from my google drive. I enable the sharing option of zip file with "Anyone with the link can download".&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;! wget "&lt;A href="https://drive.google.com/file/d/10x6q4DOWD60d5SA1WC2V_JKEvI2z1zV3/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/10x6q4DOWD60d5SA1WC2V_JKEvI2z1zV3/view?usp=sharing&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;But I got nothing except &lt;A&gt;view?usp=sharing&lt;/A&gt; in the notebook folder. When I click it gives "&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="error"&gt;&lt;H1&gt;404 : Not Found&lt;/H1&gt;&lt;P&gt;You are requesting a page that does not exist!"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to download data from Google Drive to AGOL notebook?&lt;/P&gt;&lt;P&gt;Since Google drive can sync files from desktop, it is stress-free option to upload large file with bad connection.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 06:02:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1044534#M5893</guid>
      <dc:creator>KyawNaingWin</dc:creator>
      <dc:date>2021-04-07T06:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to add data from Google Drive to AGOL notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1044546#M5895</link>
      <description>&lt;P&gt;If you search the Esri Community, there are many related links about using Google Drive.&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/technical-article/000015466" target="_blank"&gt;How To: Use Google Drive photos in ArcGIS Online pop-ups (esri.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It has something about specifying the actual image name.&amp;nbsp; The link is about popups but others links are more generic&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 08:27:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1044546#M5895</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-07T08:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to add data from Google Drive to AGOL notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1044774#M5897</link>
      <description>&lt;P&gt;I am also facing the same &lt;A href="https://answerdiary.com/hunting-errors/" target="_self"&gt;error&lt;/A&gt; and this link is not helping. any other solution?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 18:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1044774#M5897</guid>
      <dc:creator>CalbePetre</dc:creator>
      <dc:date>2021-04-07T18:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to add data from Google Drive to AGOL notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1044812#M5898</link>
      <description>&lt;P&gt;There were many other links about Google Drive usage... my link was only one example.&amp;nbsp; Perhaps one of the others may match your user case.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 19:23:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1044812#M5898</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-07T19:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to add data from Google Drive to AGOL notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1044941#M5902</link>
      <description>&lt;P&gt;Dear DanPatterson&lt;/P&gt;&lt;P&gt;there are about 400 images (448 x 448 size) in the zip file that I need to read into the python code to further train a deep learning model.&lt;/P&gt;&lt;P&gt;Pop-up is usually part of the webmap and thus I cannot use it in my case&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 04:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1044941#M5902</guid>
      <dc:creator>KyawNaingWin</dc:creator>
      <dc:date>2021-04-08T04:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to add data from Google Drive to AGOL notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1044943#M5903</link>
      <description>&lt;P&gt;At the moment, the work around is to upload the zip to my GitHub and from there I can get a link to fetch the zip via ! wget "&lt;A href="https://github.com/youracc/yourrepository/raw/main/your.zip" target="_blank"&gt;https://github.com/youracc/yourrepository/raw/main/your.zip&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;Since GitHub limits the file size to 100Mb, I have to use GitHub's Large File Storage (LFS) option to upload my zip which is about 250Mb. After setting up github lfs on my desktop, I could upload the zip via GitHub desktop application as the same way as other files I used to upload.&lt;/P&gt;&lt;P&gt;Doc of Github lfs &lt;A href="https://docs.github.com/en/github/managing-large-files/configuring-git-large-file-storage" target="_self"&gt;link&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 04:24:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1044943#M5903</guid>
      <dc:creator>KyawNaingWin</dc:creator>
      <dc:date>2021-04-08T04:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to add data from Google Drive to AGOL notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1045034#M5905</link>
      <description>&lt;P&gt;You will have to use Google's API to download the file.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.google.com/drive/api/v3/manage-downloads#python" target="_self"&gt;Python API to Download File&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.google.com/drive/api/v3/quickstart/python" target="_self"&gt;Google API Quickstart&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 13:42:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1045034#M5905</guid>
      <dc:creator>MarkKinnaman</dc:creator>
      <dc:date>2021-04-08T13:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to add data from Google Drive to AGOL notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1045188#M5908</link>
      <description>&lt;P&gt;Yesterday I was playing&amp;nbsp; around with AGOL notebooks and under Advance runtime with GPU, there I noticed a module called "googledrivedownloader". With a little bit of digging I found how to use it to get my zip data from Google Drive to AGOL notebook file space.&lt;/P&gt;&lt;P&gt;This module is not preinstalled in standard runtime. So you need to pip-install it.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;#&lt;A href="https://pypi.org/project/googledrivedownloader/" target="_blank" rel="noopener"&gt;https://pypi.org/project/googledrivedownloader/&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;#&lt;A href="https://github.com/ndrplz/google-drive-downloader" target="_blank" rel="noopener"&gt;https://github.com/ndrplz/google-drive-downloader&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;from google_drive_downloader import GoogleDriveDownloader as gdd&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;#publick link - &lt;A href="https://drive.google.com/file/d/13Mgt7Q2SQou5kik6PAahLBgbt771Gzle/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/13Mgt7Q2SQou5kik6PAahLBgbt771Gzle/view?usp=sharing&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;gdd.download_file_from_google_drive(file_id='13Mgt7Q2SQou5kik6PAahLBgbt771Gzle',&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;dest_path='/arcgis/home/gdd.zip',&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;unzip=True)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 18:25:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-add-data-from-google-drive-to-agol-notebook/m-p/1045188#M5908</guid>
      <dc:creator>KyawNaingWin</dc:creator>
      <dc:date>2021-04-08T18:25:51Z</dc:date>
    </item>
  </channel>
</rss>

