Skip to main content
Solved

Read file-gdb on google drive


bo
Contributor
Forum|alt.badge.img+10
  • Contributor

Wonder if there is a direct way to use a reader or feature reader to read a zipped up fgdb stored on google drive. One options is to use google drive connector to download the fgdb to the local drive. Thanks!

Best answer by takashi

Hi @bo, You may not have privilege to write a file into the /home directory. Try downloading the file into a folder under the /Users/<username>.

View original
Did this help you find an answer to your question?

6 replies

takashi
Influencer
  • July 1, 2018

Hi @bo, I think there is no way to directly read a dataset saved in any cloud storage service such as Google Drive. As you mentioned, download the dataset into local disk with the GoogleDriveConnector and then read it with the FeatureReader.


bo
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • July 2, 2018
takashi wrote:

Hi @bo, I think there is no way to directly read a dataset saved in any cloud storage service such as Google Drive. As you mentioned, download the dataset into local disk with the GoogleDriveConnector and then read it with the FeatureReader.

Thank you, @takashi! Somehow, I ran into an issue of downloading the zip file using GoogleDriveConnector. Here are the configuration setting and the log file. I appreciate you taking a look at this and advise.

googledriveconnector.txt

 


takashi
Influencer
  • July 2, 2018
takashi wrote:

Hi @bo, I think there is no way to directly read a dataset saved in any cloud storage service such as Google Drive. As you mentioned, download the dataset into local disk with the GoogleDriveConnector and then read it with the FeatureReader.

I cannot find any wrong thing in your parameters setting. However, FME logged this warning.

 

WARN  |GoogleDriveConnector: Download of file "AZ_Centroids.gdb.zip" has failed.  Ensure Object ID is associated with a file and not a folder
The message seems to indicate that "AZ_Centroids.gdb.zip" may be a folder. Firstly check if "AZ_Centroids.gdb.zip" is actually a zip file.

 


bo
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • July 2, 2018
takashi wrote:

Hi @bo, I think there is no way to directly read a dataset saved in any cloud storage service such as Google Drive. As you mentioned, download the dataset into local disk with the GoogleDriveConnector and then read it with the FeatureReader.

@takashi, the file is a gdb in the zip format. I also tried another .fmw file, the error msg was the same.

 


takashi
Influencer
  • Best Answer
  • July 2, 2018

Hi @bo, You may not have privilege to write a file into the /home directory. Try downloading the file into a folder under the /Users/<username>.


bo
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • July 2, 2018
takashi wrote:

Hi @bo, You may not have privilege to write a file into the /home directory. Try downloading the file into a folder under the /Users/<username>.

Yes, it worked after I changed to the "/home/guob/Downloads" folder. Thanks!

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings