Hi there,
I am trying to figure out some of the best practices for loading large raster layers into field projects. I aim to create a single project that can be used to for a large geographic area.
I have converted the raster layers (from a VRT made up of GeoTIFFs tiles) into mbtiles format with the internal images in WEBP format with quality=75. Some are single band, and I’ve “baked in” the colour scheme using gdaldem color-relief. I understand that there is some loss in compression there, and for the purpose here (using the background layers visually as a reference only, not for analysis), it is sufficient.
I set up the folder where these processed mbtiles files are to be a localized datapath in QGIS. At first, it seemed that the drag+drop from Dolphin file manager on Linux was resulting in strange source paths that weren’t recognized as the localized path, and subsequently weren’t able to be read by the qfieldcloud-worker container - this was solved by adding the mbtile raster files using the Layer menu > Add Raster Layer.. option, then things worked as expected. After that, when syncing the project to QFieldCloud (a self-hosted version), I was able to upload the files to the shared_datasets project.
That all works, but syncing the project to the tablet takes a very long time to download the shared_dataset layers, as it comes out to over a GB - and this is just with clipped-down trial layer, I will attempt full-region raster layers which I expect will be about 8x the size.
In reading the Shared Datasets page, it seems like I should potentially be able to manually load the files to the tablet using the Android/data/ch.opengis.qfield/file/QField/basemaps/ directory on the tablet. I will attempt this for the full-region layers and see if it works this way, as it will greatly reduce the time required for the field user to sync the project (and with full-region layers, they will not change).
After working through all that, I have to come to the community and see if there is anything I’m overlooking or if anyone has experience and tips to make all this a bit easier to manage ![]()
Thanks in advance for any advice given!