Hi,<br><br>I'm trying to set up a TileCache layer for an image file - that looks like this:<br><br>[book]<br>type = ImageLayer<br>file = /srv/www/htdocs/book/data/map0/test.jpg<br>bbox= 447150, 348877.5, 685150, 506850.000<br>
resolutions = 297.4998087945476,198.3297956796881,132.21962860140056,91.5397866796263,66.11475318692216,66.11475318692216,66.11475318692216,66.11475318692216,66.11475318692216,66.11475318692216,66.11475318692216,66.11475318692216,66.11475318692216,66.11475318692216,66.11475318692216,66.11475318692216,66.11475318692216<br>
srs = EPSG:31297<br>extension = jpg <br>jpegquality = 85 <br><br>In Openlayers I create a layer that looks like this one below:<br><br>var mylayer = new OpenLayers.Layer.WMS("book", cgi , {layers: 'book', maxExtent: ''}, {isBaseLayer: true});<br>
<br>(the cgi parameter is the url to the tilecache.cgi)<br><br>Now the problem is that tilecache does not split the image into 256*256 tiles but creates several 256*256 tiles containig the whole image. If I use singletile the whole thing is working, but I want the whole image to be split up in several tiles.<br>
<br>I hope this is enough information and thanks for help in advance.<br><br>best regards,<br><br>Martin<br><br>