mod_tile 0.9.1
Renders map tiles with Mapnik and serves them using Apache HTTP Server
Loading...
Searching...
No Matches
meta_layout Struct Reference

Binary on-disk and wire header layout for a serialized METATILE x METATILE archive. More...

#include <metatile.h>

Public Attributes

char magic [4]
 4-byte magic identifier (META_MAGIC or META_MAGIC_COMPRESSED).
int count
 Total number of sub-tile slots in index[] (always METATILE * METATILE).
int x
 Lowest (top-left) tile X and Y coordinates of this metatile, plus zoom level Z.
int y
int z
struct entry index []
 Flexible array of count sub-tile offset/size descriptors.

Detailed Description

Binary on-disk and wire header layout for a serialized METATILE x METATILE archive.

Immediately followed in memory/on disk by count struct entry records and the concatenated raw tile payloads referenced by each entry's offset and size.

Member Data Documentation

◆ count

int meta_layout::count

Total number of sub-tile slots in index[] (always METATILE * METATILE).

◆ index

struct entry meta_layout::index[]

Flexible array of count sub-tile offset/size descriptors.

◆ magic

char meta_layout::magic[4]

4-byte magic identifier (META_MAGIC or META_MAGIC_COMPRESSED).

◆ x

int meta_layout::x

Lowest (top-left) tile X and Y coordinates of this metatile, plus zoom level Z.

◆ y

int meta_layout::y

◆ z

int meta_layout::z

The documentation for this struct was generated from the following file: