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

Single-tile cache holding the most recently composited PNG tile and its metadata. More...

#include <store_ro_composite.h>

Public Attributes

struct stat_info st_stat
 Combined metadata and expiry status for the cached composited tile.
char * tile
 Heap-allocated PNG byte buffer (MAX_TILE_SIZE bytes) holding the composited image.
int x
 Tile X, Y, and zoom coordinates of the cached tile (-1 when invalid).
int y
int z
char xmlname [41]
 Logical map style name (xmlname) corresponding to the cached tile.

Detailed Description

Single-tile cache holding the most recently composited PNG tile and its metadata.

Prevents redundant fetching and Cairo alpha-blending when a tile_stat() call is immediately followed by tile_read() for the same (xmlname, x, y, z) tile.

Member Data Documentation

◆ st_stat

struct stat_info store_ro_composite_tile_cache::st_stat

Combined metadata and expiry status for the cached composited tile.

◆ tile

char* store_ro_composite_tile_cache::tile

Heap-allocated PNG byte buffer (MAX_TILE_SIZE bytes) holding the composited image.

◆ x

int store_ro_composite_tile_cache::x

Tile X, Y, and zoom coordinates of the cached tile (-1 when invalid).

◆ xmlname

char store_ro_composite_tile_cache::xmlname[41]

Logical map style name (xmlname) corresponding to the cached tile.

◆ y

int store_ro_composite_tile_cache::y

◆ z

int store_ro_composite_tile_cache::z

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