<br><br><div class="gmail_quote">On Tue, Aug 31, 2010 at 5:47 PM, Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de">olt@omniscale.de</a>></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 class="im"><br>
On 31.08.2010, at 18:17, Sebastian E. Ovide wrote:<br>
> how can I do exactly the same with MapProxy ? Do I really need to modify my OpenLayers script ?<br>
<br>
</div>Without any _complete_ example configuration/code I can just guess.<br>
<br>
What where the results of my last hint, comparing two MapServer and MapProxy WMS requests?<br>
<br>
Have you tried to embed the service as a WMS:<br>
<div class="im"><br>
var ca_wild_fire_tilecache = new OpenLayers.Layer.WMS( "CA Wild Fire TileCache",<br>
</div> "<a href="http://mapproxy/service" target="_blank">http://mapproxy/service</a>?", { layers: 'ca_wild_fire' } , { opacity: 0.5, }<br>
);<br>
<br></blockquote><div><br>yep... see the URL below <br> </div></div><br>pls find the different requests:<br><br>MapServer: it Works<br><br><a href="http://10.0.1.40/cgi-bin/mapserv?layers=ca_wild_fire&map=%2Fhome%2Fsebas%2Fpublic_html%2Fworkshop-5.4%2Fsebas.map&mode=map&map_imagetype=png&mapext=-13462700.9162+4931105.56705+-13384429.39925+5009377.084&imgext=-13462700.9162+4931105.56705+-13384429.39925+5009377.084&map_size=256+256&imgx=128&imgy=128&imgxy=256+256">http://10.0.1.40/cgi-bin/mapserv?layers=ca_wild_fire&map=%2Fhome%2Fsebas%2Fpublic_html%2Fworkshop-5.4%2Fsebas.map&mode=map&map_imagetype=png&mapext=-13462700.9162+4931105.56705+-13384429.39925+5009377.084&imgext=-13462700.9162+4931105.56705+-13384429.39925+5009377.084&map_size=256+256&imgx=128&imgy=128&imgxy=256+256</a><br>
<br><br>MapProxy TMS : Looks ok but in the wrong location: CA is in Africa. If zoomed more than 8, it is in Africa and CA at the same time but in CA is is HUGE...<br><a href="http://10.0.1.40:8123/tms/1.0.0/ca_wild_fire/EPSG3310/9/82/316.png">http://10.0.1.40:8123/tms/1.0.0/ca_wild_fire/EPSG3310/9/82/316.png</a><br>
<br>MapProxy WMS it displays just a back box<br><a href="http://10.0.1.40:8123/service/?LAYERS=ca_wild_fire&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=-13306157.8823,4774562.53315,-13227886.36535,4852834.0501&WIDTH=256&HEIGHT=256">http://10.0.1.40:8123/service/?LAYERS=ca_wild_fire&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=-13306157.8823,4774562.53315,-13227886.36535,4852834.0501&WIDTH=256&HEIGHT=256</a><br>
<br>TileCache: it works (even if it "seams" to be slower than MapProxy)<br><a href="http://10.0.1.40/tiles/?LAYERS=ca_wild_fire&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=-13227886.36535,4931105.56705,-13149614.8484,5009377.084&WIDTH=256&HEIGHT=256">http://10.0.1.40/tiles/?LAYERS=ca_wild_fire&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=-13227886.36535,4931105.56705,-13149614.8484,5009377.084&WIDTH=256&HEIGHT=256</a><br>
<br><br><br>-- <br>Sebastian E. Ovide<br><br><br><br><br>