MBTiles Raster and Vector Data Stores¶
Adding an MBTiles Mosaic Raster Data Source¶
When the extension has been installed, :guilabel:MBTiles` will be an option in the Raster Data Sources list when creating a new data store.

MBTiles in the list of raster data sources¶

Configuring an MBTiles data source¶
Option |
Description |
|
Name of the workspace to contain the MBTiles Mosaic store. This will also be the prefix of the raster layers created from the store. |
|
Name of the MBTiles Store as it will be known to GeoServer. This can be different from the filename. |
|
A full free-form description of the MBTiles store. |
|
If checked, it enables the store. If unchecked (disabled), no data in the GeoPackage Mosaic Store will be served from GeoServer. |
|
Location of the MBTiles file. This can be an absolute path (such as |
Adding an MBTiles vector tiles Data Store¶
When the extension has been installed, MBTiles with vector tiles will be an option in the Vector Data Sources list when creating a new data store.

MBTiles in the list of vector data sources¶

Configuring an MBTiles data store¶
Option |
Description |
|
Path to the MBTiles file |
|
Optional user name |
|
Optional password |
After configuration the store will allow setting up the layers, as they get described in the
json
entry of the metadata table.

Configuring layers out of a MBTiles store¶
Each vector tile contains data for all the layers described, the store maintains a “soft cache” of parsed tiles to avoid re-parsing them from the binary on multi-layer rendering operations.