<div dir="ltr">Arthur,<div><br></div><div style>The TIFF cache backend is efficient and performant, however it is not easy or flexible to setup. Basically you *must* ensure that the provided TIFFs are exactly aligned to your mapcache grid, and this for every zoom level you want to serve.</div>
<div style>I would suggest you create a TIFF cache from scratch on the "test" datasource , by enabling tiff write support in mapcache. Once you have browsed/seeded a few layers, the structure of what mapcache is awaiting given the <template> you provide will hopefully be clearer.</div>
<div style><br></div><div style>Remove the <base> from your tiff source, use only the <template> and give it a full path, e.g.</div><div style><div> <template>/path/to/tiff-cache/{tileset}/{grid}/L{z}/R{inv_y}/C{x}.tif</template></div>
<div><br></div><div style>Please submit a patch to the docs if you think they should be enhanced.</div><div><br></div><div>--</div><div style>thomas</div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 25 April 2013 17:41, Arthur Wesley <span dir="ltr"><<a href="mailto:arwesley@web.de" target="_blank">arwesley@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-family:Verdana;font-size:12.0px"><div>Hello Mapserver-Community, Hello List,</div>

<div> </div>

<div>first of all i want to thanks for the great work you guys are doing. The mapserver-project with all his facets does really deliver a great range of useful tools and services for different questions.</div>

<div><br>
Right now i am looking for a WMS and WMTS solution for publishing big amounts of high resolution tiffs. Because of concerns about our disk storage i would like to use only a single  raster datastore for both services, i.e. WMS and WMTS. </div>


<div> </div>

<div>The realization of a WMS Service in front of a tiff datastore is no problem with mapserver / mapfile. For the realization of a WMTS solution i set up the extension mapcache. I also got it running as disk cache solution. But i want to try if it is possible to set up it in front of the tiff datastore. As it says in the documentation (<a href="http://mapserver.org/mapcache/caches.html#mapcache-cache-tiff" target="_blank">http://mapserver.org/mapcache/caches.html#mapcache-cache-tiff</a>) it is possible to use a gtiff cache, but right now i didn't get it running (see my mapcache.xml in annex). Also i don't have real knowledge about the structure of the tiff store for mapcache. As far as  i know gdal gives me with the tools gdal2tiles and gdal_retile/gdaltindex two tools for computing a tile structure. Could such a structure reused or do i have to use another structure? Anyway i am quit new to tiling storys, so maybe i just don't get it.</div>


<div> </div>

<div>It would be nice if somebody could show me mapcache.xml example for a tiff cache and maybe could also descripe the needed structure of the tiff store. I really appreciate your help. Thanks in advance.</div>

<div><br>
Kind regards,</div>

<div><br>
JM</div></div></div><br>_______________________________________________<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>