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

Per-map-style configuration parsed from a [mapname] section in renderd.conf. More...

#include <renderd.h>

Public Attributes

const char * attribution
 Attribution string advertised in TileJSON metadata for this map style.
const char * cors
 Cross-Origin Resource Sharing (Access-Control-Allow-Origin) policy string.
const char * description
 Human-readable map description advertised in TileJSON metadata.
const char * file_extension
 File extension of rendered tiles without leading dot (e.g., "png", "jpg").
const char * host
 Primary HTTP virtual host name serving this map style.
const char * htcpip
 HTCP cache-invalidation target host/IP for notifying upstream caches (e.g., Squid).
const char * mime_type
 MIME type of rendered tiles (e.g., "image/png").
const char * output_format
 Mapnik image writer format string (e.g., "png256", "jpeg80", "webp").
const char * parameterization
 Optional dynamic style parameterization handler name (e.g., "language").
const char * server_alias
 Space-separated HTTP virtual host aliases serving this map style.
const char * tile_dir
 Tile storage root directory or backend connection URI overriding the daemon default.
const char * xmlfile
 Filesystem path to the Mapnik XML stylesheet file.
const char * xmlname
 Logical map configuration identifier (xmlname) used in IPC requests.
const char * xmluri
 Base HTTP URL path prefix where tiles for this style are exposed (e.g., "/osm/").
double scale_factor
 Mapnik rendering scale factor (1.0 for standard DPI, 2.0 for Retina/HiDPI).
int aspect_x
 Horizontal projection aspect ratio multiplier (typically 1, or 2 for Plate Carrée).
int aspect_y
 Vertical projection aspect ratio multiplier (typically 1).
int max_zoom
 Maximum zoom level permitted for this map style.
int min_zoom
 Minimum zoom level permitted for this map style.
int num_threads
 Number of render threads initializing or serving this map style.
int tile_px_size
 Width and height of a single rendered tile in pixels (e.g., 256 or 512).
int total_threads_ok
 Count of worker threads that successfully loaded xmlfile during startup.

Detailed Description

Per-map-style configuration parsed from a [mapname] section in renderd.conf.

Member Data Documentation

◆ aspect_x

int xmlconfigitem::aspect_x

Horizontal projection aspect ratio multiplier (typically 1, or 2 for Plate Carrée).

◆ aspect_y

int xmlconfigitem::aspect_y

Vertical projection aspect ratio multiplier (typically 1).

◆ attribution

const char* xmlconfigitem::attribution

Attribution string advertised in TileJSON metadata for this map style.

◆ cors

const char* xmlconfigitem::cors

Cross-Origin Resource Sharing (Access-Control-Allow-Origin) policy string.

◆ description

const char* xmlconfigitem::description

Human-readable map description advertised in TileJSON metadata.

◆ file_extension

const char* xmlconfigitem::file_extension

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

◆ host

const char* xmlconfigitem::host

Primary HTTP virtual host name serving this map style.

◆ htcpip

const char* xmlconfigitem::htcpip

HTCP cache-invalidation target host/IP for notifying upstream caches (e.g., Squid).

◆ max_zoom

int xmlconfigitem::max_zoom

Maximum zoom level permitted for this map style.

◆ mime_type

const char* xmlconfigitem::mime_type

MIME type of rendered tiles (e.g., "image/png").

◆ min_zoom

int xmlconfigitem::min_zoom

Minimum zoom level permitted for this map style.

◆ num_threads

int xmlconfigitem::num_threads

Number of render threads initializing or serving this map style.

◆ output_format

const char* xmlconfigitem::output_format

Mapnik image writer format string (e.g., "png256", "jpeg80", "webp").

◆ parameterization

const char* xmlconfigitem::parameterization

Optional dynamic style parameterization handler name (e.g., "language").

◆ scale_factor

double xmlconfigitem::scale_factor

Mapnik rendering scale factor (1.0 for standard DPI, 2.0 for Retina/HiDPI).

◆ server_alias

const char* xmlconfigitem::server_alias

Space-separated HTTP virtual host aliases serving this map style.

◆ tile_dir

const char* xmlconfigitem::tile_dir

Tile storage root directory or backend connection URI overriding the daemon default.

◆ tile_px_size

int xmlconfigitem::tile_px_size

Width and height of a single rendered tile in pixels (e.g., 256 or 512).

◆ total_threads_ok

int xmlconfigitem::total_threads_ok

Count of worker threads that successfully loaded xmlfile during startup.

◆ xmlfile

const char* xmlconfigitem::xmlfile

Filesystem path to the Mapnik XML stylesheet file.

◆ xmlname

const char* xmlconfigitem::xmlname

Logical map configuration identifier (xmlname) used in IPC requests.

◆ xmluri

const char* xmlconfigitem::xmluri

Base HTTP URL path prefix where tiles for this style are exposed (e.g., "/osm/").


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