source: TI02-CSML/trunk/services/3rdParty/tilecache-1.4/tilecache.cfg @ 2202

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI02-CSML/trunk/services/3rdParty/tilecache-1.4/tilecache.cfg@2202
Revision 2202, 1.8 KB checked in by lawrence, 13 years ago (diff)

Adding tilecache to the "interesting" OGC services already implemented
in python.

Line 
1# Configuration for MC TileCache
2
3# [cache] section (mandatory!)
4# type=DiskCache    (works out of the box)
5# base=<full path to cache directory>
6# *or*
7# type=MemoryCache  (you'll need memcache.py and memcached running!)
8# servers=192.168.1.1:11211
9
10[cache]
11type=DiskCache
12base=/tmp/tilecache
13
14# [layername] -- all other sections are named layers
15#
16# type={MapServerLayer,WMSLayer}
17#   *** if you want to use MapServerLayer, you *must* have Python mapscript
18#       installed and available ***
19#
20# mapfile=<full path to map file>   *** only applies to MapServerLayer  ***
21# url=<full URL of WMS>             *** only applies to WMSLayer        ***
22# layers=<layer>[,<layer2>,<layer3>,...]
23#                                   *** optional iff layername if what
24#                                       your data source calls the layer **
25# extension={png,jpeg,gif}          *** defaults to "png"               ***
26# size=256,256                      *** defaults to 256x256             ***
27# bbox=-180.0,-90.0,180.0,90.0      *** defaults to world in lon/lat    ***
28# srs=EPSG:4326                     *** defaults to EPSG:4326           ***
29# levels=20                         *** defaults to 20 zoom levels      ***
30# resolutions=0.1,0.05,0.025,...    *** defaults to global profile      ***
31# metaTile=true                     *** metatiling off by default
32#                                       requires python-imaging         ***
33# metaSize=5,5                      *** size of metatile in tiles
34#                                       defaults to 5 x 5               ***
35# metaBuffer=10                     *** size of metatile buffer in px   ***
36
37#[vmap0]
38#type=MapServerLayer
39#layers=vmap0
40#mapfile=/var/www/vmap0.map
41
42[basic]
43type=WMSLayer
44url=http://labs.metacarta.com/wms/vmap0
45extension=png
Note: See TracBrowser for help on using the repository browser.