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

Per-map-layer configuration record populated from Apache directives or renderd.conf. More...

#include <mod_tile.h>

Public Attributes

char ** hostnames
 Array of virtual host names (ServerName / ServerAlias) matched for this layer.
const char * attribution
 Attribution string advertised in TileJSON responses for this layer.
const char * baseuri
 Base URL path prefix routed to this layer (e.g., "/osm/").
const char * cors
 Cross-Origin Resource Sharing (Access-Control-Allow-Origin) header value.
const char * description
 Human-readable description advertised in TileJSON responses for this layer.
const char * fileExtension
 File extension of rendered tiles without leading dot (e.g., "png").
const char * mimeType
 HTTP Content-Type MIME type returned for tiles in this layer (e.g., "image/png").
const char * store
 Storage backend URI or filesystem path configured for this layer.
const char * xmlname
 Target map style identifier (xmlname) sent in IPC requests to renderd.
int aspect_x
 Horizontal projection aspect ratio multiplier (default 1).
int aspect_y
 Vertical projection aspect ratio multiplier (default 1).
int enableOptions
 Non-zero if dynamic style parameterization options are enabled in tile URLs.
int maxzoom
 Maximum zoom level permitted for this layer.
int minzoom
 Minimum zoom level permitted for this layer.
int noHostnames
 Number of hostnames stored in the hostnames array.

Detailed Description

Per-map-layer configuration record populated from Apache directives or renderd.conf.

Member Data Documentation

◆ aspect_x

int tile_config_rec::aspect_x

Horizontal projection aspect ratio multiplier (default 1).

◆ aspect_y

int tile_config_rec::aspect_y

Vertical projection aspect ratio multiplier (default 1).

◆ attribution

const char* tile_config_rec::attribution

Attribution string advertised in TileJSON responses for this layer.

◆ baseuri

const char* tile_config_rec::baseuri

Base URL path prefix routed to this layer (e.g., "/osm/").

◆ cors

const char* tile_config_rec::cors

Cross-Origin Resource Sharing (Access-Control-Allow-Origin) header value.

◆ description

const char* tile_config_rec::description

Human-readable description advertised in TileJSON responses for this layer.

◆ enableOptions

int tile_config_rec::enableOptions

Non-zero if dynamic style parameterization options are enabled in tile URLs.

◆ fileExtension

const char* tile_config_rec::fileExtension

File extension of rendered tiles without leading dot (e.g., "png").

◆ hostnames

char** tile_config_rec::hostnames

Array of virtual host names (ServerName / ServerAlias) matched for this layer.

◆ maxzoom

int tile_config_rec::maxzoom

Maximum zoom level permitted for this layer.

◆ mimeType

const char* tile_config_rec::mimeType

HTTP Content-Type MIME type returned for tiles in this layer (e.g., "image/png").

◆ minzoom

int tile_config_rec::minzoom

Minimum zoom level permitted for this layer.

◆ noHostnames

int tile_config_rec::noHostnames

Number of hostnames stored in the hostnames array.

◆ store

const char* tile_config_rec::store

Storage backend URI or filesystem path configured for this layer.

◆ xmlname

const char* tile_config_rec::xmlname

Target map style identifier (xmlname) sent in IPC requests to renderd.


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