# Configuration for MC TileCache # [cache] section (mandatory!) # type=DiskCache (works out of the box) # base= # *or* # type=MemoryCache (you'll need memcache.py and memcached running!) # servers=192.168.1.1:11211 [cache] type=DiskCache base=/tmp/tilecache # [layername] -- all other sections are named layers # # type={MapServerLayer,WMSLayer} # *** if you want to use MapServerLayer, you *must* have Python mapscript # installed and available *** # # mapfile= *** only applies to MapServerLayer *** # url= *** only applies to WMSLayer *** # layers=[,,,...] # *** optional iff layername if what # your data source calls the layer ** # extension={png,jpeg,gif} *** defaults to "png" *** # size=256,256 *** defaults to 256x256 *** # bbox=-180.0,-90.0,180.0,90.0 *** defaults to world in lon/lat *** # srs=EPSG:4326 *** defaults to EPSG:4326 *** # levels=20 *** defaults to 20 zoom levels *** # resolutions=0.1,0.05,0.025,... *** defaults to global profile *** # metaTile=true *** metatiling off by default # requires python-imaging *** # metaSize=5,5 *** size of metatile in tiles # defaults to 5 x 5 *** # metaBuffer=10 *** size of metatile buffer in px *** #[vmap0] #type=MapServerLayer #layers=vmap0 #mapfile=/var/www/vmap0.map [basic] type=WMSLayer url=http://labs.metacarta.com/wms/vmap0 extension=png