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

Single-tile cache holding the most recently fetched remote tile and its metadata. More...

#include <store_ro_http_proxy.h>

Public Attributes

struct stat_info st_stat
 Metadata and expiry status derived from the upstream HTTP response headers.
char * tile
 Heap-allocated buffer holding the fetched tile payload bytes.
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 fetched remote tile and its metadata.

Avoids performing a duplicate HTTP GET request when tile_stat() is immediately followed by tile_read() for the same (xmlname, x, y, z) tile.

Member Data Documentation

◆ st_stat

struct stat_info ro_http_proxy_tile_cache::st_stat

Metadata and expiry status derived from the upstream HTTP response headers.

◆ tile

char* ro_http_proxy_tile_cache::tile

Heap-allocated buffer holding the fetched tile payload bytes.

◆ x

int ro_http_proxy_tile_cache::x

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

◆ xmlname

char ro_http_proxy_tile_cache::xmlname[41]

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

◆ y

int ro_http_proxy_tile_cache::y

◆ z

int ro_http_proxy_tile_cache::z

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