source: subversion/applications/utils/mod_mapnik_wms/wms.h

Last change on this file was 22430, checked in by frederik, 9 years ago

initial release of mod_mapnik_wms, an apache2 module for running a mapnik-based wms. documentation & mailing list announcement to follow in a few days

File size: 892 bytes
Line 
1/**
2 * header file for wms
3 *
4 * see comments in wms.cpp
5 */
6
7#include <httpd.h>
8
9
10#ifndef WMS_H_INCLUDED
11#define WMS_H_INCLUDED
12struct wms_cfg {
13    int srs_count;
14    const char *srs[20];
15    int datasource_count;
16    const char *datasource[20];
17    int font_count;
18    const char *font[20];
19    const char *title;
20    const char *url;
21    const char *map;
22    const char *top_layer_name;
23    const char *top_layer_title;
24    int include_sub_layers; 
25    int initialized;
26    void *mapnik_map;
27    const char *logfile;
28    const char *key_db_file;
29    int max_demo_width;
30    int max_demo_height;
31    int debug;
32    float minx;
33    float maxx;
34    float miny;
35    float maxy;
36};
37
38//extern "C" int wms_getcap(request_rec *r);
39//extern "C" int wms_handle(request_rec *r);
40//extern "C" int wms_initialize(struct wms_cfg *cfg, apr_pool_t *p);
41
42//void wms_initialize(struct wms_cfg *c);
43
44#endif
Note: See TracBrowser for help on using the repository browser.