<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1541164330;
        mso-list-template-ids:-265750584;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>How did you set up the layer that combined all of them?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Also, when you say you set up a cache for the detailed area, how did you specify the extent of the detailed area? I don’t see anything in the caches docs about specifying coverage.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> mapproxy-bounces@lists.osgeo.org [mailto:mapproxy-bounces@lists.osgeo.org] <b>On Behalf Of </b>Benjamin Wragg<br><b>Sent:</b> Tuesday, August 07, 2012 1:24 AM<br><b>To:</b> mapproxy@lists.osgeo.org<br><b>Subject:</b> Re: [MapProxy] Dealing with a source with multiple resolutions in one layer<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hi Paul,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I think I had a similar setup problem the other day on this thread "<span style='font-size:9.0pt'>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><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Basically to get it to work I did the following:<o:p></o:p></p></div><div><ol start=1 type=1><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>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.<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>setup 1 cache for the whole earth with a grid of GLOBAL_MERCATOR with num_levels 8<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>setup a second cache for "detailed area 1" with a grid of GLOBAL_MERCATOR with num_levels 14.<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>setup a third cache for "detailed area 2" with a grid of GLOBAL_MERCATOR with num_levels 1<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>....another cache for each area I want more than num_level 8.<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>In my seed.yaml I have a coverage defined for each of the above areas and a seed that pre-caches each coverage.<o:p></o:p></li></ol><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal>Does that make sense? Hope it helps..<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Regards,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Benjamin Wragg<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><div><p class=MsoNormal>On 06/08/2012, at 11:05 AM, Paul Norman <<a href="mailto:penorman@mac.com">penorman@mac.com</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><br><br><o:p></o:p></p><p class=MsoNormal>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><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>