Hi Chris,<br><br>That worked great...Thanks very much<br><br>Jerry<br><br><div><span class="gmail_quote">On 14/06/07, <b class="gmail_sendername">Christopher Schmidt</b> <<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Thu, Jun 14, 2007 at 10:49:44AM +0100, Jerry O'Sullivan wrote:<br>
> Hi,<br>><br>> I have downloaded tilecache and got it working through IIS with the sample<br>> index.html caching data from metacarta.<br>><br>> I am trying to use my own geoserver data and I am only getting pink tiles.
<br>> What could the problem be? I can get the tiles fine through regular OL but<br>> not via Tilecache?<br><br>Neither OpenLayers nor TileCache is configured correctly. OpenLayers is<br>missing any kind of 'maxResolution' or other resolution-setting option,
<br>and TileCache is missing maxresolution and bbox.<br><br>"The most important thing to do is to ensure that the OpenLayers Layer<br>has the same resolutions and bounding box as your TileCache layer. You<br>can define the resolutions in OpenLayers via the 'resolutions' option or
<br>the 'maxResolution' option on the layer. The maxExtent should be defined<br>to match the bbox parameter of the TileCache layer." --<br><a href="http://tilecache.org/readme.html">http://tilecache.org/readme.html
</a><br><br>-- Chris<br><br>> Tilecache.cfg extract<br>> [Ireland]<br>> type=WMSLayer<br>> url=<a href="http://127.0.0.1:8080/geoserver/wms">http://127.0.0.1:8080/geoserver/wms</a>?<br>> srs=EPSG:29903<br>> layers=topp:Counties_region
<br>><br>> OpenLayers Code<br>> map = new OpenLayers.Map( 'map',{maxExtent: new OpenLayers.Bounds(0, 0,<br>> 450000, 450000),units:'meters', projection:"EPSG:29903" } );<br>> layer = new
OpenLayers.Layer.WMS( "VMap0", "tilecache.cgi?", {layers:<br>> 'Ireland', format: 'image/png'}, {projection:"EPSG:29903" } );<br>> map.addLayer(layer);<br><br>> _______________________________________________
<br>> Tilecache mailing list<br>> <a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>> <a href="http://openlayers.org/mailman/listinfo/tilecache">http://openlayers.org/mailman/listinfo/tilecache
</a><br><br><br>--<br>Christopher Schmidt<br>MetaCarta<br></blockquote></div><br>