<div dir="ltr">OK, got it, I think :)<div>the disk caches by default encode the tileset name in the file path it creates, so your <span style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:15.12px">topo2matrikkel tileset will never be able to read tiles belonging to the topo2 tileset. If you want to be more clever than mapcache, you can use your own file template (<cache type="disk" layout="template">), but beware that mapcache will then not prevent you from shooting yourself in the foot if you omit to add template tags (in your case you would need to at least add a {grid} element, and be sure to not reference that <cache> from other tilesets)</span></div><div><span style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:15.12px"><br></span></div><div><span style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:15.12px">--</span></div><div><span style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:15.12px">thomas</span></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 21, 2016 at 1:05 PM tellett <<a href="mailto:thomas.ellett@statkart.no">thomas.ellett@statkart.no</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We've compiled mapcache again from trunk with the debug set and now we get<br class="gmail_msg">
this info:<br class="gmail_msg">
<br class="gmail_msg">
[Wed Dec 21 13:00:08.887057 2016] [:debug] [pid 12513] mod_mapcache.c(162):<br class="gmail_msg">
[client <a href="http://10.1.1.1:54041" rel="noreferrer" class="gmail_msg" target="_blank">10.1.1.1:54041</a>] calling tile_get on cache (topo2matrikkel):<br class="gmail_msg">
(tileset=topo2matrikkel, grid=utm33n, z=3, x=1, y=4<br class="gmail_msg">
[Wed Dec 21 13:00:08.887072 2016] [:debug] [pid 12513] mod_mapcache.c(162):<br class="gmail_msg">
[client <a href="http://10.1.1.1:54041" rel="noreferrer" class="gmail_msg" target="_blank">10.1.1.1:54041</a>] calling tile_get on cache (topo2):<br class="gmail_msg">
(tileset=topo2matrikkel, grid=utm33n, z=3, x=1, y=4<br class="gmail_msg">
[Wed Dec 21 13:00:08.887081 2016] [:debug] [pid 12513] mod_mapcache.c(162):<br class="gmail_msg">
[client <a href="http://10.1.1.1:54041" rel="noreferrer" class="gmail_msg" target="_blank">10.1.1.1:54041</a>] checking for tile<br class="gmail_msg">
/cache/mapcache/topo2/topo2matrikkel/utm33n/03/000/000/001/000/000/004.png<br class="gmail_msg">
<br class="gmail_msg">
So the problem is that its looking for the tile at<br class="gmail_msg">
/topo2/topo2matrikkel/.... instead of just /topo2/......... and as far as I<br class="gmail_msg">
can make out, this will either mean that the topo2 cache won't work (it<br class="gmail_msg">
does) or that the tile would have to be stored twice for topo2matrikkel to<br class="gmail_msg">
work, which I guess would be contary to the idea of a composite cache?<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Mapcache-Composite-cache-problem-tp5300828p5300864.html" rel="noreferrer" class="gmail_msg" target="_blank">http://osgeo-org.1560.x6.nabble.com/Mapcache-Composite-cache-problem-tp5300828p5300864.html</a><br class="gmail_msg">
Sent from the Mapserver - User mailing list archive at Nabble.com.<br class="gmail_msg">
_______________________________________________<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="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div>