I am trying both, tms and service... <br><br><div dir="ltr" style=""><div id="tts_button" title="Listen to this translation" style="display: block;" class=" "><object type="application/x-shockwave-flash" data="http://www.gstatic.com/translate/sound_player2.swf" id="tts_flash" height="18" width="18"><param value="http://www.gstatic.com/translate/sound_player2.swf" name="movie"><param value="sound_name=translate_tts%3Fq%3Drecapitulando%26tl%3Des&amp;sound_name_cb=_TTSSoundFile" name="flashvars"><param value="transparent" name="wmode"><param value="always" name="allowScriptAccess"></object></div>

<span id="result_box" class="short_text"><span style="background-color: rgb(230, 236, 249); color: rgb(0, 0, 0);" title="">recapitulating: MapServer produces the right tiles and it works well in OpenLayers:<br></span></span></div>

<br><br>            var ms_mapinfo_sh = new OpenLayers.Layer.MapServer( &quot;MapServer from MapInfo shape file&quot;, <br>                    &quot;<a href="http://10.0.1.40/cgi-bin/mapserv">http://10.0.1.40/cgi-bin/mapserv</a>&quot;, <br>

                    {    layers: &#39;ca_wild_fire&#39;,<br>                        map: &#39;/home/sebas/public_html/workshop-5.4/sebas.map&#39;<br>                    }, { opacity: 0.5}<br>            );    <br><br>With MapServer or TileCache, OpenLayers works well too. For example with TileCache I&#39;d use: <br>

<br>            var ca_wild_fire_tilecache = new OpenLayers.Layer.WMS( &quot;CA Wild Fire TileCache&quot;,<br>                &quot;<a href="http://10.0.1.40/tiles/">http://10.0.1.40/tiles/</a>&quot;,  { layers: &#39;ca_wild_fire&#39; } ,  { opacity: 0.5, }<br>

            );    <br><br>and in tilecache.conf<br><br>[ca_wild_fire]<br>type=WMS<br>url=<a href="http://10.0.1.40/cgi-bin/mapserv?map=/home/sebas/public_html/workshop-5.4/sebas.map&amp;transparent=true">http://10.0.1.40/cgi-bin/mapserv?map=/home/sebas/public_html/workshop-5.4/sebas.map&amp;transparent=true</a><br>

layers=ca_wild_fire<br>spherical_mercator=true<br>srs=EPSG:3857<br>tms_type=google<br>extent_type=loose<br><br><br>how can I do exactly the same with MapProxy ? Do I really need to modify my OpenLayers script ?<br><br><div class="gmail_quote">

On Tue, Aug 31, 2010 at 4:06 PM, Oliver Tonnhofer <span dir="ltr">&lt;<a href="mailto:olt@omniscale.de">olt@omniscale.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div id=":27t">As a TMS in your OpenLayers client? You need to specify the extend and resolutions of the TMS in the OpenLayers TMS layer.<br>
<br>
Can you compare two similar WMS requests? Does the results match?<br>
<br>
Regards,<br>
Oliv</div></blockquote></div><br><br clear="all"><br>-- <br>Sebastian E. Ovide<br><br><br><br>