<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br>I have the same issue trying to seed the following layer:<br><br>--------------------------------------------------------<br>[global]<br>type=WMS<br>url=http://158.109.174.111:8080/fcgi-bin/wms?map=C:\ms4w\maps\map\wms.map<br>layers=global_mosaic<br>bbox=180000,4600000,400000,4870000<br>srs=EPSG:4326<br>maxResolution=1132.8125<br>extension=jpeg<br>debug=true<br>size=512,512<br>bbox=415000,-200000,7500000,6000000<br>--------------------------------------------------------<br><br>My global layer in mapserver is defined like:<br><br>--------------------------------------------------------<br>LAYER # MODIS WMS map from JPL<br>&nbsp;&nbsp;&nbsp; NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'global_mosaic'<br>&nbsp;&nbsp;&nbsp; TYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RASTER<br>&nbsp;&nbsp;&nbsp; OFFSITE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 0 0<br>&nbsp;&nbsp;&nbsp; STATUS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ON<br>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE WMS<br>&nbsp;&nbsp;&nbsp; CONNECTION "http://onearth.jpl.nasa.gov/wms.cgi?"<br>&nbsp;&nbsp;&nbsp; TOLERANCE 7<br>&nbsp;&nbsp;&nbsp;&nbsp; TOLERANCEUNITS pixels<br>&nbsp;&nbsp;&nbsp; MAXSCALEDENOM 2000000<br><br>&nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp; &nbsp; "wms_srs" "EPSG:4326"<br>&nbsp;&nbsp;&nbsp; &nbsp; "wms_name" "global_mosaic"<br>&nbsp;&nbsp;&nbsp; &nbsp; "wms_server_version" "1.1.1"<br>&nbsp;&nbsp;&nbsp; &nbsp; "wms_format" "image/jpeg"<br>&nbsp;&nbsp;&nbsp; END<br><br>&nbsp;&nbsp;&nbsp; PROJECTION<br>&nbsp;&nbsp;&nbsp; &nbsp; "init=epsg:4326"<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;END # Modis WMS image ends here<br>--------------------------------------------------------<br><br>I get blank tiles...<br>Thanks for any help!<br>&nbsp;<br>
Francisco Domingues<br><br><br><br><br>&gt; Date: Thu, 15 Oct 2009 01:58:58 -0700<br>&gt; From: rahn@zhaw.ch<br>&gt; To: tilecache@openlayers.org<br>&gt; Subject: [Tilecache]  TileCache only results in white images<br>&gt; <br>&gt; <br>&gt; hello list,<br>&gt; <br>&gt; I'm new in using TileCache with OpenLayers. Perhaps you can help me.<br>&gt; <br>&gt; I try to make Tiles for different Layers. First I have some Polygons with<br>&gt; region-borders. After this I have some background data like streets for<br>&gt; example.<br>&gt; <br>&gt; In my OpenLayers file I use the follwing code:<br>&gt; <br>&gt; var url = "http://webgis.hsw.ch/GINES/Styling/mysld_bezirke.php?";<br>&gt; <br>&gt; var urlFusion = "http://webgis.hsw.ch/GINES/Styling/mysld_fusion.php?";<br>&gt; <br>&gt; var urlArray = ["http://webgis.hsw.ch/cgi-bin/mapserv.exe?",<br>&gt; "http://195.176.253.211/cgi-bin/mapserv.exe?"];<br>&gt; <br>&gt; var urlArrayTC = ["http://webgis.hsw.ch/cgi-bin/tilecache/tilecache.cgi?"];<br>&gt; <br>&gt; var mapFile = "../htdocs/GINES/Maps/Gemeinden_Bern.map";<br>&gt; <br>&gt;  <br>&gt; <br>&gt; var options1 = {<br>&gt; <br>&gt;             maxExtent: new OpenLayers.Bounds(555100,129900,678450,245000),<br>&gt; <br>&gt;             maxScale: '500',<br>&gt; <br>&gt;             minScale: '458262',<br>&gt; <br>&gt;             resolutions:[481.8359375, 240.91796875, 120.458984375,<br>&gt; 60.2294921875, 30.11474609375, 15.057373046875, 7.5286865234375,<br>&gt; 3.76434326171875, 1.882171630859375, 0.9410858154296875,<br>&gt; 0.47054290771484375, 0.23527145385742188, 0.11763572692871094,<br>&gt; 0.058817863464355469, 0.029408931732177734, 0.014704465866088867,<br>&gt; 0.0073522329330444336, 0.0036761164665222168, 0.0018380582332611084,<br>&gt; 0.0009190291166305542],<br>&gt; <br>&gt;             maxresolution:481.8359375,<br>&gt; <br>&gt;             minresolution:0.0009190291166305542,<br>&gt; <br>&gt;             units: 'm',<br>&gt; <br>&gt;             projection: "EPSG:21781",<br>&gt; <br>&gt;             controls: []<br>&gt; <br>&gt; };<br>&gt; <br>&gt;  <br>&gt; <br>&gt; var map = new OpenLayers.Map('map',options1);<br>&gt; <br>&gt;  <br>&gt; <br>&gt; var wms = new OpenLayers.Layer.WMS("Gemeinden",urlArrayTC,<br>&gt; {map:mapFile,layers:layerName,format:"image/png",EXCEPTIONS:"application/vnd.ogc.se_inimage"}<br>&gt; );<br>&gt; <br>&gt;  <br>&gt; <br>&gt; var<br>&gt; sld_string=url+"jahr="+jahr+"&amp;indikator="+indikator1+"&amp;klassen="+klassen+"&amp;vis="+vis+"&amp;fusion="+jahr4+"&amp;farbe="+farbe;<br>&gt; <br>&gt;  <br>&gt; <br>&gt; wms.mergeNewParams({ SLD:sld_string});<br>&gt; <br>&gt;  <br>&gt; You can see that i'm using an skript which generates an sld file. This file<br>&gt; works with the mergeNewParams Parameter.<br>&gt; <br>&gt; I get the data out of a postgreSQL database.<br>&gt; <br>&gt; In my tilecache.cfg file I have this code:<br>&gt; <br>&gt; [gemeinden_2008]<br>&gt; <br>&gt; type=WMS<br>&gt; <br>&gt; url=http://webgis.hsw.ch/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/GINES/Maps/Gemeinden_Bern.map<br>&gt; <br>&gt; #mapfile=C:/ms4w/Apache/htdocs/GINES/Maps/Gemeinden_Bern.map<br>&gt; <br>&gt; layers=gemeinden_2008<br>&gt; <br>&gt; maxresolution=481.8359375<br>&gt; <br>&gt; minresolution=0.0009190291166305542<br>&gt; <br>&gt; resolutions=481.8359375, 240.91796875, 120.458984375, 60.2294921875,<br>&gt; 30.11474609375, 15.057373046875, 7.5286865234375, 3.76434326171875,<br>&gt; 1.882171630859375, 0.9410858154296875, 0.47054290771484375,<br>&gt; 0.23527145385742188, 0.11763572692871094, 0.058817863464355469,<br>&gt; 0.029408931732177734, 0.014704465866088867, 0.0073522329330444336,<br>&gt; 0.0036761164665222168, 0.0018380582332611084, 0.0009190291166305542<br>&gt; <br>&gt; levels=5<br>&gt; <br>&gt; extension=png<br>&gt; <br>&gt; extent_type=loose<br>&gt; <br>&gt; srs=EPSG:21781<br>&gt; <br>&gt; bbox=555100,129900,678450,245000<br>&gt; <br>&gt; metaTile=true<br>&gt; <br>&gt; ----------------------------------------------<br>&gt; <br>&gt; [seen]<br>&gt; type=WMS<br>&gt; url=http://webgis.hsw.ch/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/GINES/Maps/Gemeinden_Bern.map<br>&gt; #mapfile=C:/ms4w/Apache/htdocs/GINES/Maps/Gemeinden_Bern.map<br>&gt; layers=seen<br>&gt; extension=png<br>&gt; transparency=true<br>&gt; extent_type=loose<br>&gt; srs=EPSG:21781<br>&gt; bbox=555100,129900,678450,245000<br>&gt; <br>&gt; --------------------------------------------<br>&gt; <br>&gt; And now I have a problem.<br>&gt; For the Layer "seen" all works fine I get the Tiles and all is ok. In my<br>&gt; TielCache Directory I have the different png files.<br>&gt; <br>&gt; But with the Layer "gemeinden_2008" it doesn't work. I only get white<br>&gt; images. On the Server in the TielCache Directory I have different white<br>&gt; images without the map-data.<br>&gt; <br>&gt; I don't know where what I have to do to correct the error. Perhaps somebody<br>&gt; can help me.<br>&gt; <br>&gt; I use OpenLayers 2.8 with UMN Mapserver and PostgreSQL database.<br>&gt; <br>&gt; Thank you very much for your help.<br>&gt; <br>&gt; Greetings<br>&gt; Hanno Rahn<br>&gt; <br>&gt; -- <br>&gt; View this message in context: http://n2.nabble.com/TileCache-only-results-in-white-images-tp3828062p3828062.html<br>&gt; Sent from the TileCache mailing list archive at Nabble.com.<br>&gt; _______________________________________________<br>&gt; Tilecache mailing list<br>&gt; Tilecache@openlayers.org<br>&gt; http://openlayers.org/mailman/listinfo/tilecache<br>                                               <br /><hr />Novo Internet Explorer 8: faça tudo com menos cliques.  <a href='http://brasil.microsoft.com.br/IE8/mergulhe/?utm_source=MSN%3BHotmail&utm_medium=Tagline&utm_campaign=IE8' target='_new'>Baixe agora, é gratis!</a></body>
</html>