Interface for the metadata header of a *.Versatiles container.

interface Header {
    bbox: [number, number, number, number];
    blockIndexLength: number;
    blockIndexOffset: number;
    magic: string;
    metaLength: number;
    metaOffset: number;
    tileCompression: Compression;
    tileFormat: Format;
    tileMime: string;
    version: string;
    zoomMax: number;
    zoomMin: number;
}

Properties

bbox: [number, number, number, number]

Bounding box coordinates as [lon_min, lat_min, lon_max, lat_max].

blockIndexLength: number

The byte size of the block index. A value of 0 indicates no tiles in the container.

blockIndexOffset: number

The byte offset for the block index within the container.

magic: string

Identifier for the container format, usually "versatiles_v02".

metaLength: number

The byte size of the metadata. A value of 0 means no metadata.

metaOffset: number

The byte offset for metadata within the container.

tileCompression: Compression

The type of compression applied to tiles.

tileFormat: Format

The format used for storing tiles.

tileMime: string

The MIME type of the tiles.

version: string

Version of the container format, typically "v02".

zoomMax: number

The maximum zoom level.

zoomMin: number

The minimum zoom level.