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

Version 3 wire protocol message packet (PROTO_VER == 3). More...

#include <protocol.h>

Public Attributes

int ver
 Protocol version number (3 for struct protocol).
enum protoCmd cmd
 Request or response command opcode.
int x
 Tile X coordinate.
int y
 Tile Y coordinate.
int z
 Tile zoom level.
char xmlname [41]
 Null-terminated target map configuration (xmlconfig) name.
char mimetype [41]
 Null-terminated requested output MIME type (e.g. "image/png").
char options [41]
 Null-terminated style parameterization options string.

Detailed Description

Version 3 wire protocol message packet (PROTO_VER == 3).

Extends version 2 with mimetype and style parameterization options.

Member Data Documentation

◆ cmd

enum protoCmd protocol::cmd

Request or response command opcode.

◆ mimetype

char protocol::mimetype[41]

Null-terminated requested output MIME type (e.g. "image/png").

◆ options

char protocol::options[41]

Null-terminated style parameterization options string.

◆ ver

int protocol::ver

Protocol version number (3 for struct protocol).

◆ x

int protocol::x

Tile X coordinate.

◆ xmlname

char protocol::xmlname[41]

Null-terminated target map configuration (xmlconfig) name.

◆ y

int protocol::y

Tile Y coordinate.

◆ z

int protocol::z

Tile zoom level.


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