I am having problems getting OpenLayers to use tilecache and Mapnik.<br><br>The image /1.0.0/google-tiles/5/17/18.png from Tilecache, is different to the image /5/17/18.png generated from generate_tiles.py.<br><br>Is the way generate_tiles.py saves tiles compatible with Tilecache?<br>
<br>My map is in Google projection.<br><br>My OpenLayers Tilecache layer:<br><br>var mapnik = new OpenLayers.Layer.TileCache(<br> "layer name",<br> "<a href="http://localhost:8080/1.0.0/google-tiles/">http://localhost:8080/1.0.0/google-tiles/</a>",<br>
'google-tiles',<br> {<br> type: 'png',<br> getURL: getTileURL,<br> displayOutsideMaxExtent: true,<br> }<br> );<br><br><br>My tilecache.cfg:<br>[cache]<br>
type=Disk<br>base=/tmp/tilecach<br><br>[google-tiles]<br>type=MapnikLayer<br>mapfile=/home/xin/mymap.xml<br>bbox=-20037508.3427892,-20037508.3427892,20037508.3427892,20037508.3427892<br>maxResolution=156543.0339<br><br>I am pretty stuck at this. Any help is really appreciated.<br>
<br>Xin<br><br><br>