[OpenLayers-Users] TileCache - tilecache.cfg

Ben Brehmer bbrehmer at refractions.net
Mon Dec 4 17:43:11 EST 2006


I am using the following tilecache.cfg file but the "[layername]" 
section doesn't seem to be setting the default values. For example when 
Tiles are requested the apache access log indicates a tile size of 
256x256 although I have set the size to 400x400 in tilecache.cfg.

Is there something blatantly wrong with my tilecache.cfg file?


tilecache.cfg:

[cache]
type=DiskCache
base=/home/httpd/cf2/html/cache/

[layername]
type=WMSLayer
layers=TileCache-Nov25
size=400,400

[TileCache-Nov25]
type=WMSLayer
url=http://office.refractions.net/ms/cgi-bin/mapserv-4.6.2?map=/home/httpd/cf2/html/maps/basemap.map
extension=png


Apache Log:
192.168.50.1 - - [04/Dec/2006:14:19:30 -0800] "GET 
/cgi-bin/tilecache-1.1/tilecache.cgi?LAYERS=TileCache-Nov25&FORMAT=image/png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&BBOX=-82.792969,65.43457,-82.749023,65.478516&WIDTH=256&HEIGHT=256 
HTTP/1.1" 200 224


Thanks,

Ben



More information about the Users mailing list