<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi</p>
<p><br>
</p>
<p>If I count right there are about 5000 images in the whole tileindex. I such case it is not enough to have overviews on individual images. At small scale Mapserver must open very many image files, up till all 5000 for getting the tile or metatile that covers
 the hole area.</p>
<p><br>
</p>
<p>I am using a group layer by using some other imagery like Landsat images with much bigger native pixel size for small scales. It is also possible to use Mapserver itself or GDAL for creating a dataset with fewer files and bigger pixels. I prepare our data
 so that Mapserver does not ever need to open more than about 100 images.</p>
<p><br>
</p>
<p>I think that if you were using MBTiles as cache you can use Mapcache for seeding just the best resolution level and add other resolutions with gdaladdo utility directly to the MBTiles database. With other cache types that is not possible and I think that
 Mapcache itself is missing the option to construct lower resolution tiles from the already existing better resolution tiles. For rendered maps that would be also a rather useless option but for imagery it could be useful.<br>
</p>
<p><br>
</p>
<p>-Jukka Rahkonen-<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b></b>thomas bonfort wrote:<br>
  Re: [mapserver-users] Can't seed tiles with Mapcache from a Mapserver Tile Index raster layer</font>
<div> </div>
</div>
<div>
<div dir="ltr"><br>
<br>
<div class="gmail_quote">
<div dir="ltr">On Tue, Jan 24, 2017 at 5:42 AM Abrabacabra <<a href="mailto:abrabacabra@openmailbox.org">abrabacabra@openmailbox.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div bgcolor="#FFFFFF" class="gmail_msg"><br class="gmail_msg">
Could that be related to Mapserver choking on the huge tile index?<br class="gmail_msg">
</div>
</blockquote>
<div>Yes, definitely. Check that your rasters have overviews.</div>
<div><br>
</div>
<div>--</div>
<div>thomas </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div bgcolor="#FFFFFF" class="gmail_msg"><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
</div>
_______________________________________________<br class="gmail_msg">
mapserver-users mailing list<br class="gmail_msg">
<a href="mailto:mapserver-users@lists.osgeo.org" class="gmail_msg" target="_blank">mapserver-users@lists.osgeo.org</a><br class="gmail_msg">
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote>
</div>
</div>
</div>
</div>
</body>
</html>