MBTilesPyramid

Description

sealed class Tinman.AddOns.SQLite.MBTilesPyramid

Derived from

PixelPyramid abstract
INativeHandle
IPathInfo

Full source code is included in the Tinman 3D SDK download.

An implementation of the IPixelPyramid interface that opens an MBTiles 1.3 dataset.

The INativeHandle.NativeHandle property can be used to obtain the underlying SQLite data connection:

  • C# : the pinned Microsoft.Data.Sqlite.SqliteConnection object (use CodeX.ObjectPin.Unpin).

  • C++ : the sqlite3* pointer.

Public / Constructors

Open


[OwnerReturn]
public static method Open → (2)

file in : Path

[not-null]
The file path to the dataset.

flags opt : PyramidFlags = PyramidFlags.Opaque

The pyramid flags.

returns → MBTilesPyramid

The read-only MBTilesPyramid dataset.

Opens an MBTiles 1.3 dataset.

IOException

If an I/O error has occurred.

Public / Attributes

Metadata


public attribute Metadata → (get)

value : ISortedMapConst<string, string>

[not-null]
The metadata entries.

Return the MBTiles metadata entries.

Configuration

Config


public static attribute Config → (get)

value : IConfigurator<IPixelPyramid>

[not-null]
The configurator object.

The configurator object for this type.

Logging

Logger


public static readonly attribute Logger → (ILogger)

The logger object of this class.