[MapProxy] Different source depending on zoom level

Oliver Tonnhofer olt at omniscale.de
Fri Mar 9 03:31:20 EST 2012


On 01.03.2012, at 18:58, Pasithee Jupiter wrote:
> 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?

There is a debug source that you can add to your layer's sources. It will print the requested resolution.
The scales tool is also helpful when playing with resolutions: http://mapproxy.org/docs/nightly/mapproxy_util.html#scales

Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn






More information about the MapProxy mailing list