opengisch / QFieldCloud

QFieldCloud allows seamless synchronization of your field data with your spatial infrastructure with change tracking, team management and online-offline work capabilities in QField.
https://qfield.cloud
MIT License
118 stars 52 forks source link

Support basemap creation on QFieldCloud #378

Open OBVYamaska opened 2 years ago

OBVYamaska commented 2 years ago

Describe the issue

Even though I check to box to create a basemap for my project, it is not created. The project transfers without issue to the cloud and to the device, but no basemap anywhere. Am I doing something wrong?

Reproduction steps

Steps to reproduce the behavior:

  1. Go to QFieldSync plugin preferences
  2. Check Basemap option and fill parameters
  3. Export project to the cloud and sync it to a device

Expected behavior

A basemap should be created.

Observed behavior

No basemap anywhere...

Screenshots and GIFs

NA

[Please also attach additional files if a specific project/dataset is useful to investigate the problem.]

Desktop (please complete the following information)

Mobile (please complete the following information)

Additional information

[If the problem happened with QFieldCloud, please add your username and project name.] username: OBVYamaska Project: VTT_Benev

suricactus commented 2 years ago

Basemaps are not supported on QFieldCloud yet. This is because basemaps take quite some time to be generated, but each job has only 10 minutes to finish.

What you can do is to create your basemap manually and upload it to the cloud as a standard tiff file.

OBVYamaska commented 2 years ago

Thank you for the quick answer @suricactus (sorry, I was away for a while). Do you think this limit (10min) is going to change in the near future? I also face this issue with big/complex QField projects. Alternatively, would it be a good idea to grey out the option to create a basemap in the QFieldCloud parameters page?

Thanks!

suricactus commented 2 years ago

I don't really see this limit of 10 minutes going away soon.

It would be great to mention in QFieldSync that basemaps are not supported in QFieldCloud. I am planning to have a solution for basemaps generation (e.g. generated on the first upload of the project, or triggered by additiinal button) but never hd time for that, so I just probably go for the quick QFieldSync message.

On the slow projects, can you give me a bit of info what kind of layers you have?

OBVYamaska commented 2 years ago

I could give you access to such a project so you could experiment with it, but in short, we created a "master" project that hosts tens of QGIS/QField forms, each using several Relations. Everything is linked to a postgres db. This gives our partners a really nice tool to get out quickly, and still get standardized forms throughout the years and different projects. This solution works great on QField per say, but we now have to largely simplify the project when we want to use QFieldCloud because of this limit. In most cases, it is not so much a problem, but some projects use complex forms or multiple forms, and these get blocked in the download to the device.