|
LuciadCPillar C# 2026.0.09
|
A model decoder for MBTiles data. More...
Static Public Member Functions | |
| static Luciad.Models.Model | Decode (string source) |
| Creates a model for a MBTiles data set. | |
| static Luciad.Models.Model | Decode (string source, Luciad.Formats.MbTiles.MbTilesModelDecoderOptions options) |
| Creates a model for a MBTiles data set. | |
|
inlinestatic |
Creates a model for a MBTiles data set.
This method uses default options. If you need to customize access to resources please use the method with options. You can also find detailed information on the method with options.
| source | the file path to the .mbtiles file or a url for a TileJSON. |
| System.IO.IOException | when creating the model fails. |
|
inlinestatic |
Creates a model for a MBTiles data set.
The MBTiles model decoder allows accessing MBTiles data according to the following specification:
| File | Entry point | Description |
|---|---|---|
| .mbtiles | x | SQLite3 database containing the metadata as well as the tile data. |
| http(s)://host//path | x | TileJSON containing metadata on the tile data and how to access the resources. |
Support for the pbf format which refers to vector tile data in the Mapbox Vector Tile format.
The returned IFeatureTileModel is not queryable through the public API.
The following tile formats are supported:
The only supported tile format is PNG.
The options allow to specify the tile type (vector, image or elevation), as well as the http(s) client. The http client is ignored in case of decoding a .mbtiles file.
| source | the file path to the .mbtiles file or a url for a TileJSON. |
| options | options for decoding the MBTiles data. |
| System.IO.IOException | when creating the model fails. |