[Qgis-user] Flatgeobuf in google drive ?

Ujaval Gandhi ujaval at spatialthoughts.com
Fri Oct 6 00:33:36 PDT 2023


Google Drive doesn't allow static file hosting (it used to, but stopped around
2015). So you cannot use it to get a file URL that can be directly used to get
the file contents. You'll need to host the file on a static file server or a
cloud bucket (Google Cloud Storage or AWS s3)


---
Ujaval Gandhi
Spatial Thoughts
www.spatialthoughts.com
[https://mailtrack.io/trace/link/8aae70f5bd6ada7857cc248f40e8d91737f68592?url=http%3A%2F%2Fwww.spatialthoughts.com&userId=8747767&signature=1b1622ce093fbb24]




[data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=3D]
On Fri, Oct 6, 2023 at 11:56 AM Adam Nielsen via QGIS-User
<qgis-user at lists.osgeo.org> wrote:


> > However, I would like to use Google Drive as a data repository instead
> > of the website,  so I uploaded the same file to (my) Google Drive in the
> > "Shared Data" directory and made it public viewable using a https
> > address similar to this:
> >
> > *https://drive.google.com/file/d/180sZv..
> [https://drive.google.com/file/d/180sZv..].. a lot of letters and
> > numbers....Ue/view?usp=sharing*
> >
> > The question: Is there any method so QGIS can access to the .fgb file
> > located in Google Drive using the information in the above https address ?
> 
> I'm no expert on Google Drive but it looks like you're using the URL
> for the friendly "view this file" page, rather than the URL that
> contains the raw file content itself.
> 
> You'll probably have to try to download the file and grab the download
> URL it gives you there and use that instead.
> 
> Cheers,
> Adam.
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org [QGIS-User at lists.osgeo.org]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> [https://lists.osgeo.org/mailman/listinfo/qgis-user]
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> [https://lists.osgeo.org/mailman/listinfo/qgis-user]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20231006/05d1a87c/attachment.htm>


More information about the QGIS-User mailing list