<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="Apple-interchange-newline"><div><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Paul,<div><br></div><div>I think I had a similar setup problem the other day on this thread "<span style="font-size: 12px; ">Dealing with a source with multiple resolutions in one layer". I had 1 source of 19 levels that I wanted to cache at 8 levels all over and then greater levels over certain regions.</span></div><div><br></div><div>Basically to get it to work I did the following:</div><div><ol class="MailOutline"><li>setup 1 source which had a grid that encompassed the whole earth e.g GLOBAL_MERCATOR with the maximum number of levels set, for me this was num_levels 19.</li><li>setup 1 cache for the whole earth with a grid of GLOBAL_MERCATOR with num_levels 8</li><li>setup a second cache for "detailed area 1" with a grid of GLOBAL_MERCATOR with num_levels 14.</li><li>setup a third cache for "detailed area 2" with a grid of GLOBAL_MERCATOR with num_levels 1</li><li>....another cache for each area I want more than num_level 8.</li><li>In my seed.yaml I have a coverage defined for each of the above areas and a seed that pre-caches each coverage.</li></ol><div><br></div></div><div>Does that make sense? Hope it helps..</div><div><br></div><div>Regards,</div><div><br></div><div>Benjamin Wragg</div><div><br></div><div><div><div>On 06/08/2012, at 11:05 AM, Paul Norman <<a href="mailto:penorman@mac.com">penorman@mac.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I run mapproxy to cache several WMS layers and convert them to TMS. Normally<br>I set up a layer, a cache using a grid with an appropriate num_levels for<br>the resolution of the source and a WMS source.<br><br>I've run into the case where one of the WMS layers is composed of multiple<br>imagery shots at different resolution. I would like to cache up to level 21<br>(zoom 20 in google-style numbering) for parts of it and to 19 in other<br>parts.<br><br>Is this possible? I can get polygons representing the extents of each part<br>of the layer.<br><br>If I use the same grid for the entire area then it could end up caching<br>unnecessary data in the lower-resolution areas.<br><br>_______________________________________________<br>MapProxy mailing list<br><a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapproxy">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br></blockquote></div><br></div></div></div></div><br></body></html>