Hi Does anyone know how I can access the Mapnik tile cache created by "generate_tiles.py" directly using Tilecache? (ie: using pre-generated tiles).
I have tried copying the Mapnik cache into /var/www/html/tilecache/tiles and then setting: [basic] type=WMS url=http://127.0.0.1/tilecache/tiles extension=png [cache] type=Disk base=/tmp/tilecache in tilecache.cfg and then running the index.html that comes with tilecache but this does not work. Neither the apache log nor firebug (script debugger) give any errors but all I get is a set of pink squares. I can get tilecache.cgi to display one image at a time by using http://127.0.0.1/tilecache/tilecache.cgi/1.0.0/basic/0/0/0.png and setting the url in tilecache.cfg to http://127.0.0.1/tilecache/tiles/0/0. I am using the following, nearly standard code in index.html: function init(){ map = new OpenLayers.Map( $('map'), {'maxResolution': 360/512}); layer = new OpenLayers.Layer.WMS( "basic", "tilecache.cgi?", {layers: 'basic', format: 'image/png' } ); map.addLayer(layer); map.addControl(new OpenLayers.Control.Permalink()); if (!map.getCenter()) map.zoomToMaxExtent(); } Any help would be greatly appreciated. Best wishes Steve
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

