Thanks for your help Thomas,
now i am trying to deploy mapcache with tiff-write-support, but there are no options which i could set in the CMakeList or CMakeCache File. I am using the master branch from the git repository. Should i use another version or is their a simple option string which i have to add?
Thanks in advance for your help.
Kind regards,
JM
P.S. Sorry Thomas for sending this mail directly to your adress.
Gesendet: Freitag, 26. April 2013 um 10:44 Uhr
Von: "thomas bonfort" <[email protected]>
An: "Arthur Wesley" <[email protected]>
Cc: "MapserverList OSGEO" <[email protected]>
Betreff: Re: [mapserver-users] MapCache with GTiff Cache
Von: "thomas bonfort" <[email protected]>
An: "Arthur Wesley" <[email protected]>
Cc: "MapserverList OSGEO" <[email protected]>
Betreff: Re: [mapserver-users] MapCache with GTiff Cache
Arthur,
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.
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.
Remove the <base> from your tiff source, use only the <template> and give it a full path, e.g.
<template>/path/to/tiff-cache/{tileset}/{grid}/L{z}/R{inv_y}/C{x}.tif</template>
Please submit a patch to the docs if you think they should be enhanced.
--
thomas
On 25 April 2013 17:41, Arthur Wesley <[email protected]> wrote:
Hello Mapserver-Community, Hello List,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.
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.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 (http://mapserver.org/mapcache/caches.html#mapcache-cache-tiff) 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.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.
Kind regards,
JM
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
