Thanks for all the answers.
I made a Google cloud bucket and uploaded my files to that. It is
(surprisingly🙂) stable and fast ! The only downside is that it takes a
long time the first time you open the layer, because QGIS will read the
entire layer to ascertain the number of objects. When you have a layer
with ca. 6.000.000 objects it takes a looong time. But opening the
project after that is snappy.
Med venlig hilsen / Best regards
Bo Victor Thomsen
On 06-10-2023 09:33, Ujaval Gandhi via QGIS-User wrote:
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?w=cWdpcy11c2VyQGxpc3RzLm9zZ2VvLm9yZw&url=http%3A%2F%2Fwww.spatialthoughts.com&userId=8747767&signature=1b1622ce093fbb24>
On Fri, Oct 6, 2023 at 11:56 AM Adam Nielsen via QGIS-User
<[email protected]> 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
[email protected]
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>
_______________________________________________
QGIS-User mailing list
[email protected]
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
QGIS-User mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user