<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><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/><font size=3 color=blue><u>http://www.inspq.qc.ca</u></font></a>
<p><font size=3>&nbsp; </font>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Steve.Toutant@inspq.qc.ca@openlayers.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : tilecache-bounces@openlayers.org</font>
<p><font size=1 face="sans-serif">23/07/2009 11:54 AM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">tilecache@openlayers.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">[Tilecache] maxExtent and BBOX setting</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></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: &quot;EPSG:900913&quot;,//google</font><font size=3> </font><font size=2 face="sans-serif"><br>
displayProjection: new OpenLayers.Projection(&quot;EPSG:4326&quot;), //Pour
afficher les coord lat long</font><font size=3> </font><font size=2 face="sans-serif"><br>
units: &quot;m&quot;,</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: &quot;4892&quot;, //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( &quot;Google Map&quot;, { 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>
 &nbsp; &nbsp; &nbsp; &nbsp;'ilotsMiniTC', 'http://10.2.192.247/tilecache/dataWms',
'ilotsMiniTC',</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;{</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;REPROJECT: 'false',</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;format:&quot;image/gif&quot;,</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;transparent: &quot;true&quot;,</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;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>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;maxResolution:
4892,</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;attribution:'ICU
- INSPQ et &lt;a href=&quot;http://www.santepub-mtl.qc.ca/&quot; target=&quot;_blank&quot;&gt;DSP
de Montréal&lt;/a&gt;'</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;}</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=http://localhost/cgi-bin/mapserv.exe?map=/ms4w/paccSante/map/paccsante_chaleur.map&amp;</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 &quot;-9239517, 5465442, -5565974,
9349764&quot;</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><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/><font size=3 color=blue><u>http://www.inspq.qc.ca</u></font></a><font size=3>
</font>
<p><font size=3>&nbsp; </font><tt><font size=2>_______________________________________________<br>
Tilecache mailing list<br>
Tilecache@openlayers.org<br>
http://openlayers.org/mailman/listinfo/tilecache<br>
</font></tt>
<br>
<br>
<br>