Outdated documentation
The latest documentation was moved to docs.qfield.org
通过QGIS数据源和GDAL,QField支持多种数据格式。此页面包含QField支持的数据格式的不完整列表。
数据格式 | 支持 | 备注 |
---|---|---|
Spatialite | ✔ | |
Geopackage | ✔ | |
WMS | ✔ | |
WFS | ✔ | |
WFS-T | ✔ | |
Postgis | ✔ | |
MBTiles | ✔ | |
Shape | ✔ | |
Tiff | ✔ | |
JPEG2000 | ✔ | |
WEBP | ✔ | |
ECW | ✘ | 许可限制使用。 |
MrSID | ✘ | 许可限制使用。 |
If you don't find your favorite data format on this table, please check if it works and adapt the list above to share your findings. If it does not work, please open an issue. We will be happy to help you with the implementation.
Raster data can become quite big quickly, when working with uncompressed tiff files it's often several Gb of data. Especially on mobile devices, this is inefficient.
We recommend to use the geopackage format to deal with raster data. The following commands will convert a file called raster.tif
to a file raster.gpkg
with pyramids. Make sure you adjust EPSG:21781
to your desired CRS.
gdal_translate --config OGR_SQLITE_SYNCHRONOUS OFF -co APPEND_SUBDATASET=YES -co TILE_FORMAT=WEBP -a_srs EPSG:21781 -of GPKG raster.tif raster.gpkg
gdaladdo --config OGR_SQLITE_SYNCHRONOUS OFF -r AVERAGE raster.gpkg 2 4 8 16 32 64 128 256