<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">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
</div>
<div style="overflow-wrap: break-word; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi,</div>
<div style="overflow-wrap: break-word; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br style="overflow-wrap: break-word; font-family: "Segoe UI"">
</div>
<div style="overflow-wrap: break-word; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
With MapCache, I want to generate the tiles that will be copied to a mobile device, on a viewer created with OpenLayers.</div>
<div style="overflow-wrap: break-word; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br style="overflow-wrap: break-word; font-family: "Segoe UI"">
</div>
<div style="overflow-wrap: break-word; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
When generating a large extent, with multiple levels of zoom, the files count is really big, so I want to reduce the number of files by increasing the tile size. I've made a test with tiles 512x512, but I've realized that the resolution must be changed when
 changing tiles size. So, the tiles are bigger, but changing the resolution make generating the same number of files.</div>
<div style="overflow-wrap: break-word; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br style="overflow-wrap: break-word; font-family: "Segoe UI"">
</div>
<div style="overflow-wrap: break-word; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I'm open for workaround and other tricks.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
mapcache.xml</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span><grid name="GoogleMaps512"><br>
</span>
<div><metadata><br>
</div>
<div><title>GoogleMaps512</title><br>
</div>
<div></metadata><br>
</div>
<div><extent>-20037508.3427892480 -20037508.3427892480 20037508.3427892480 20037508.3427892480</extent><br>
</div>
<div><srs>EPSG:3857</srs><br>
</div>
<div><srsalias>EPSG:900913</srsalias><br>
</div>
<div><units>m</units><br>
</div>
<div><size>512 512</size><br>
</div>
<div><resolutions>156543.0339280410 78271.51696402048 39135.75848201023 19567.87924100512 9783.939620502561 4891.969810251280 2445.984905125640 1222.992452562820 611.4962262814100 305.7481131407048 152.8740565703525 76.43702828517624 38.21851414258813 19.10925707129406
 9.554628535647032 4.777314267823516 2.388657133911758 1.194328566955879 0.5971642834779395</resolutions><br>
</div>
<span></grid></span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span><span><cache name="tmpl_xyz" type="disk" layout="template"><br>
</span>
<div>  <template>/data/mapcache/tiles/{tileset}/{grid}/{z}/{x}/{y}.{ext}</template><br>
</div>
<span></cache></span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span><span><br>
</span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span><span><span><tileset name="OpenStreetMap"><br>
</span>
<div><source>vmap0</source><br>
</div>
<div><cache>tmpl_xyz</cache><br>
</div>
<div><grid>GoogleMaps512</grid><br>
</div>
<div><format>PNG</format></div>
<span></tileset></span><br>
</span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
With best regards,</div>
</body>
</html>