<div dir="ltr"><div><div>Thomas,<br><br></div>Thanks for your reply.  The addition of the  <grid minzoom="0" maxzoom="19">...</grid> to the config does address some of the issues, the tileset is advertised as only having 19 zoom levels in the getcapabilties for the TMS.  However it does not perform the same as having a <grid> configured with 19 (20) <resolutions>  when accessing the service using a WMS.  The tileset with <grid minzoom="0" maxzoom="19"> will return a 404 with a blank tile when making a GetMap request beyond level 19, the grid configured with only 20 resolutions (zoom level 0-19) will return a valid image. -- I think : )<br>
<br></div>Regards<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 March 2013 11:19, thomas bonfort <span dir="ltr"><<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><tileset><br>
  <grid minzoom="0" maxzoom="19">...</grid><br>
</tileset><br>
<br>
should do the trick...<br>
<div><div class="h5"><br>
On 4 March 2013 17:14, Travis Kirstine <<a href="mailto:traviskirstine@gmail.com">traviskirstine@gmail.com</a>> wrote:<br>
> I have set up mapcache with a generic grid for all my caches.  The grid has<br>
> resolutions defined for zoom levels 0-21, however depending on the<br>
> resolution of my source data the tileset may only be seeded to level 19.<br>
> The tileset no longer has the ability to connect to the source.  As a result<br>
> blank images are displayed the when a client using the mapcache WMS zooms in<br>
> beyond the max resolution.  Is there a way to address this without creating<br>
> additional grids?<br>
><br>
><br>
>    <!-- Google Grid for >=10cm Levels 0-21 --><br>
>    <grid name="gmaps"><br>
>       <metadata><br>
>          <title>GoogleMapsCompatible</title><br>
><br>
> <WellKnownScaleSet>urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible</WellKnownScaleSet><br>
>       </metadata><br>
>       <extent>-20037508.3427892480 -20037508.3427892480 20037508.3427892480<br>
> 20037508.3427892480</extent><br>
>       <srs>EPSG:3857</srs><br>
>       <srsalias>EPSG:900913</srsalias><br>
>       <units>m</units><br>
>       <size>256 256</size><br>
>       <resolutions>156543.0339280410 78271.51696402048 39135.75848201023<br>
> 19567.87924100512 9783.939620502561 4891.969810251280 2445.984905125640<br>
> 1222.992452562820 611.4962262814100 305.7481131407048 152.8740565703525<br>
> 76.43702828517624 38.21851414258813 19.10925707129406 9.554628535647032<br>
> 4.777314267823516 2.388657133911758 1.194328566955879 0.5971642834779395<br>
> 0.29858214173896975 0.149291070869484875 0.0746455354347424375</resolutions><br>
>    </grid><br>
><br>
>  <tileset name="0237DURH_cache"><br>
>      <!--source>0237DURH</source--><br>
>      <cache>disk</cache><br>
>      <grid restricted_extent="-8831574.381510 5432633.752429 -8731299.465116<br>
> 5547099.028228">gmaps</grid><br>
>      <format>mixed</format><br>
>      <metatile>4 4</metatile><br>
>      <metabuffer>0</metabuffer><br>
>    </tileset><br>
><br>
> Thanks!<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
</blockquote></div><br></div>