<div>Hi Oliver</div><div><br></div><div>Thanks for your fast reply.</div><div>I can now load the different layers but how do I find out the right values for 'max_res' and 'min_res' for EPSG:21781' on a OpenLayers WMS-Layer using singleTile?</div>
<div><br></div><div>Thanks a lot</div><div>Pasithee</div><div><br></div><br><br><div class="gmail_quote">On Thu, Mar 1, 2012 at 4:03 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On 01.03.2012, at 15:57, Pasithee Jupiter wrote:<br>
> Is it possible that MapProxy sources and caches WMS images based on the map zoom (resolution) automatically?<br>
><br>
> what I want is that MapProxy requests a WMS-Server for the first half zoom levels and for the remaining zoom levels another WMS-Server.<br>
> First: is that possible?<br>
<br>
</div>Yes that should work.<br>
<div class="im"><br>
> Second: Do I have to do it with max_res, min_res / max_scale, min_scale<br>
> Third: If yes, could you provide a short example<br>
<br>
<br>
<br>
</div>You need to define two WMS sources. One with a min_res and one with a max_res (see <a href="http://mapproxy.org/docs/nightly/sources.html#min-res-max-res-or-min-scale-max-scale" target="_blank">http://mapproxy.org/docs/nightly/sources.html#min-res-max-res-or-min-scale-max-scale</a>)<br>
Then you need to add these sources to your cache.<br>
<br>
Regards,<br>
Oliver<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Oliver Tonnhofer | Omniscale GmbH & Co KG | <a href="http://omniscale.de" target="_blank">http://omniscale.de</a><br>
<a href="http://mapproxy.org" target="_blank">http://mapproxy.org</a> | <a href="https://bitbucket.org/olt" target="_blank">https://bitbucket.org/olt</a> | @oltonn<br>
<br>
<br>
<br>
<br>
</font></span></blockquote></div><br>