Skip to main content
Solved

Read file-gdb on google drive

  • July 1, 2018
  • 6 replies
  • 108 views

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>.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

takashi
Celebrity
  • 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

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
Celebrity
  • July 2, 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.

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

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
Celebrity
  • 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

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!