[MapProxy] Different source depending on zoom level

Pasithee Jupiter pasithee at gmail.com
Thu Mar 1 12:58:06 EST 2012


Hi Oliver

Thanks for your fast reply.
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?

Thanks a lot
Pasithee



On Thu, Mar 1, 2012 at 4:03 PM, Oliver Tonnhofer <olt at omniscale.de> wrote:

>
> On 01.03.2012, at 15:57, Pasithee Jupiter wrote:
> > Is it possible that MapProxy sources and caches WMS images based on the
> map zoom (resolution) automatically?
> >
> > 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.
> > First: is that possible?
>
> Yes that should work.
>
> > Second: Do I have to do it with max_res, min_res / max_scale, min_scale
> > Third: If yes, could you provide a short example
>
>
>
> You need to define two WMS sources. One with a min_res and one with a
> max_res (see
> http://mapproxy.org/docs/nightly/sources.html#min-res-max-res-or-min-scale-max-scale
> )
> Then you need to add these sources to your cache.
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
> http://mapproxy.org | https://bitbucket.org/olt | @oltonn
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20120301/e03cbf7a/attachment.html


More information about the MapProxy mailing list