if the tile are created but OL does not display it, you should have a error message in firebug:<div><br></div><div>here some possible errors:</div><div>->Permission denied on directory so tilecache cannot read the image </div>
<div>->file ?.png does not exist</div><div>-> x value too far from tile corner x</div><div><br></div><div>are you sure firebug don't show any error?</div><div><br></div><div>MartinO</div><div><br><div class="gmail_quote">
2009/7/23 <span dir="ltr"><<a href="mailto:Steve.Toutant@inspq.qc.ca">Steve.Toutant@inspq.qc.ca</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><font size="2" face="sans-serif">I should say that tilecache_seed.py
gave no errors and there is nothing wrong in the apache logs. The image
are created but don't show up in OL.</font>
<br><font size="2" face="sans-serif">thanks</font>
<br><font size="2" face="sans-serif">Steve</font>
<br><font size="2" face="sans-serif"><br>
</font><font size="3" color="#0066ff"><i>Steve Toutant, M. Sc.</i></font><font size="3"><br>
Analyste en géomatique<br>
Secteur environnement<br>
Direction des risques biologiques, environnementaux et occupationnels<br>
Institut national de santé publique du Québec<br>
945, avenue Wolfe<br>
Québec, Qc G1V 5B3 </font>
<p><font size="3">Tél.: (418) 650-5115 #5281<br>
Fax.: (418) 654-3144</font><font size="3" color="blue"><u><br>
</u></font><a href="mailto:steve.toutant@inspq.qc.ca" target="_blank"><font size="3" color="blue"><u>steve.toutant@inspq.qc.ca</u></font></a><font size="3" color="blue"><u><br>
</u></font><a href="http://www.inspq.qc.ca/" target="_blank"><font size="3" color="blue"><u>http://www.inspq.qc.ca</u></font></a>
</p><p><font size="3"> </font>
</p><p>
<br>
<br>
<br>
</p><p></p><table width="100%">
<tbody><tr valign="top">
<td width="40%"><font size="1" face="sans-serif"><b><a href="mailto:Steve.Toutant@inspq.qc.ca" target="_blank">Steve.Toutant@inspq.qc.ca</a>@<a href="http://openlayers.org" target="_blank">openlayers.org</a></b>
</font>
<br><font size="1" face="sans-serif">Envoyé par : <a href="mailto:tilecache-bounces@openlayers.org" target="_blank">tilecache-bounces@openlayers.org</a></font>
<p><font size="1" face="sans-serif">23/07/2009 11:54 AM</font>
</p></td><td width="59%">
<table width="100%">
<tbody><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">A</font></div>
</td><td><font size="1" face="sans-serif"><a href="mailto:tilecache@openlayers.org" target="_blank">tilecache@openlayers.org</a></font>
</td></tr><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">cc</font></div>
</td><td>
</td></tr><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">Objet</font></div>
</td><td><font size="1" face="sans-serif">[Tilecache] maxExtent and BBOX setting</font></td></tr></tbody></table>
<br>
<table>
<tbody><tr valign="top">
<td>
</td><td></td></tr></tbody></table>
<br></td></tr></tbody></table>
<br>
<br>
<br>
<br>
<br><font size="2" face="sans-serif"><br>
Hello,</font><font size="3"> </font><font size="2" face="sans-serif"><br>
I read several posts on bbox and maxExtent settings but I still can't make
tilecache works.</font><font size="3"> </font><font size="2" face="sans-serif"><br>
I'm confuse with maxExtent, maxResolution and BBOX of OpenLayers mapOptions,
OpenLayers layer definition, tilecache.cfg and tilecache_seed.py.</font><font size="3">
<br>
</font><font size="2" face="sans-serif"><br>
I need help for clarifying this please.</font><font size="3"> </font><font size="2" face="sans-serif"><br>
Below are the different settings.</font><font size="3"> </font><font size="2" face="sans-serif"><br>
thanks</font><font size="3"> </font><font size="2" face="sans-serif"><br>
Steve</font><font size="3"> <br>
</font><font size="2" face="sans-serif"><br>
************************OpenLayers Options*********************************</font><font size="3">
<br>
</font><font size="2" face="sans-serif"><br>
var mapOptions = {</font><font size="3"> </font><font size="2" face="sans-serif"><br>
projection: "EPSG:900913",//google</font><font size="3"> </font><font size="2" face="sans-serif"><br>
displayProjection: new OpenLayers.Projection("EPSG:4326"), //Pour
afficher les coord lat long</font><font size="3"> </font><font size="2" face="sans-serif"><br>
units: "m",</font><font size="3"> </font><font size="2" face="sans-serif"><br>
maxExtent: new OpenLayers.Bounds(-9239517, 5465442, -5565974, 9349764),//bbox
google = bbox tilecache_seed.py</font><font size="3"> </font><font size="2" face="sans-serif"><br>
maxResolution: "4892", //BEcause of minZoomLevel: 5 for google
MAp</font><font size="3"> </font><font size="2" face="sans-serif"><br>
controls: [],</font><font size="3"> </font><font size="2" face="sans-serif"><br>
numZoomLevels: 20 //google</font><font size="3"> </font><font size="2" face="sans-serif"><br>
};</font><font size="3"> </font><font size="2" face="sans-serif"><br>
//basemap</font><font size="3"> </font><font size="2" face="sans-serif"><br>
var googleM = new OpenLayers.Layer.Google( "Google Map", { minZoomLevel:
5, type: G_NORMAL_MAP, 'sphericalMercator': true} );</font><font size="3">
<br>
</font><font size="2" face="sans-serif"><br>
************************OpenLayers Layer definition *********************************</font><font size="3">
</font><font size="2" face="sans-serif"><br>
createTileCacheLayer</font><font size="3"> </font><font size="2" face="sans-serif"><br>
(</font><font size="3"> </font><font size="2" face="sans-serif"><br>
'ilotsMiniTC', '<a href="http://10.2.192.247/tilecache/dataWms" target="_blank">http://10.2.192.247/tilecache/dataWms</a>',
'ilotsMiniTC',</font><font size="3"> </font><font size="2" face="sans-serif"><br>
{</font><font size="3"> </font><font size="2" face="sans-serif"><br>
REPROJECT: 'false',</font><font size="3">
</font><font size="2" face="sans-serif"><br>
format:"image/gif",</font><font size="3">
</font><font size="2" face="sans-serif"><br>
transparent: "true",</font><font size="3">
</font><font size="2" face="sans-serif"><br>
maxExtent: new
OpenLayers.Bounds(-9239517,5465442,-7987172.729,5465442), // = bbox of
tilecache.cfg</font><font size="3"> </font><font size="2" face="sans-serif"><br>
maxResolution:
4892,</font><font size="3"> </font><font size="2" face="sans-serif"><br>
attribution:'ICU
- INSPQ et <a href="<a href="http://www.santepub-mtl.qc.ca/" target="_blank">http://www.santepub-mtl.qc.ca/</a>" target="_blank">DSP
de Montréal</a>'</font><font size="3"> </font><font size="2" face="sans-serif"><br>
}</font><font size="3"> </font><font size="2" face="sans-serif"><br>
);</font><font size="3"> <br>
</font><font size="2" face="sans-serif"><br>
************************TILECACHE.CFG*********************************</font><font size="3">
<br>
</font><font size="2" face="sans-serif"><br>
[ilotsMiniTC]</font><font size="3"> </font><font size="2" face="sans-serif"><br>
type=WMSLayer</font><font size="3"> </font><font size="2" face="sans-serif"><br>
url=<a href="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/paccSante/map/paccsante_chaleur.map&" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=/ms4w/paccSante/map/paccsante_chaleur.map&</a></font><font size="3">
</font><font size="2" face="sans-serif"><br>
extent_type=loose</font><font size="3"> </font><font size="2" face="sans-serif"><br>
levels=15</font><font size="3"> </font><font size="2" face="sans-serif"><br>
#Du niveau inférieur au niveau supérieur</font><font size="3"> </font><font size="2" face="sans-serif"><br>
layers=ilotsLavalMini,ilotsMtlMini,ilotsMonteregieMini3,ilotsMonteregieMini1,ilotsMonteregieMini2,ilotsEstrieMini2,ilotsEstrieMini1,ilotsGatMini,ilotsLauMini2,ilotsLauMini1,ilotsLanMini,ilotsMauMini1,ilotsMauMini2,ilotsMauMini3,ilotsChauMini2,ilotsQcMini2,ilotsChauMini1,ilotsQcMini1</font><font size="3">
</font><font size="2" face="sans-serif"><br>
extension=gif</font><font size="3"> </font><font size="2" face="sans-serif"><br>
srs=EPSG:900913</font><font size="3"> </font><font size="2" face="sans-serif"><br>
#metaTile=true</font><font size="3"> </font><font size="2" face="sans-serif"><br>
metaBuffer=30</font><font size="3"> </font><font size="2" face="sans-serif"><br>
#metaSize=10,10</font><font size="3"> </font><font size="2" face="sans-serif"><br>
maxResolution=4892</font><font size="3"> </font><font size="2" face="sans-serif"><br>
bbox=-9239517,5465442,-7987172.729,5465442</font><font size="3"> </font><font size="2" face="sans-serif"><br>
#BBOX = maxExtent of OL Layer definition</font><font size="3"> <br>
</font><font size="2" face="sans-serif"><br>
************************tilecache_seed.py************************</font><font size="3">
</font><font size="2" face="sans-serif"><br>
BBOX = maxExtent of OL map options</font><font size="3"> </font><font size="2" face="sans-serif"><br>
tilecache_seed.py -f ilotsMiniTC 0 2 -b "-9239517, 5465442, -5565974,
9349764"</font><font size="3"> <br>
<br>
</font><font size="2" face="sans-serif"><br>
</font><font size="3" color="#0066ff"><i><br>
Steve Toutant, M. Sc.</i></font><font size="3"><br>
Analyste en géomatique<br>
Secteur environnement<br>
Direction des risques biologiques, environnementaux et occupationnels<br>
Institut national de santé publique du Québec<br>
945, avenue Wolfe<br>
Québec, Qc G1V 5B3 </font>
<p><font size="3">Tél.: (418) 650-5115 #5281<br>
Fax.: (418) 654-3144</font><font size="3" color="blue"><u><br>
</u></font><a href="mailto:steve.toutant@inspq.qc.ca" target="_blank"><font size="3" color="blue"><u>steve.toutant@inspq.qc.ca</u></font></a><font size="3" color="blue"><u><br>
</u></font><a href="http://www.inspq.qc.ca/" target="_blank"><font size="3" color="blue"><u>http://www.inspq.qc.ca</u></font></a><font size="3">
</font>
</p><p><font size="3"> </font><tt><font size="2">_______________________________________________<br>
Tilecache mailing list<br>
<a href="mailto:Tilecache@openlayers.org" target="_blank">Tilecache@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
</font></tt>
<br>
<br>
<br></p><p></p><p></p><p></p><p></p><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" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
<br></blockquote></div><br></div>