Hi again and happy new year! I've tried what you suggested and managed to get
the composite layer to work with this setup:

<cache name="topo2" type="disk" layout="template">
        <base>/cache/mapcache/topo2</base>
        <template>/cache/mapcache/topo2/{grid}/{z}/{x}/{y}.{ext}</template>
</cache>

<cache name="topo2matrikkelsource" type="disk" layout="template">
        <base>/cache/mapcache/topo2matrikkelsource</base>
       
<template>/cache/mapcache/topo2matrikkelsource/{grid}/{z}/{x}/{y}.{ext}</template>
</cache>
 
<cache name="topo2matrikkel" type="composite">
                <cache min-zoom="0" max-zoom="12">topo2</cache>
                <cache min-zoom="13">topo2matrikkelsource</cache>
</cache>

But I was a little bit confused about what you meant with that we could
'shoot ourselves in the foot' if we omit template tags? And also why we
can't reference that cache (I presume you mean 'topo2matrikkel') from other
tilesets?

Cheers

Tom



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapcache-Composite-cache-problem-tp5300828p5302008.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to