<div dir="ltr">That seems more like a client configuration issue to me. That is, you'd have the two caches (air photos and political) but then configure the client to swap at different zoom levels. For example, with Leaflet you could simply set maxZoom/minZoom map attributes. Here's an example that uses a map (1 tileset) at small scales and then transitions to aerial photos w/overlays (2 tilesets) as the user zooms in:<div><br></div><div>
<a href="http://maps1.dnr.state.mn.us/test/tiles/switch.html">http://maps1.dnr.state.mn.us/test/tiles/switch.html</a> <div><br></div><div>Presumably you can tell MapCache to only generate tiles over certain zoom ranges for each tileset - thus reducing disk space. Perhaps I'm miss interpreting your question though. --Steve</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 23, 2019 at 9:29 AM Mark Volz <<a href="mailto:MarkVolz@co.lyon.mn.us">MarkVolz@co.lyon.mn.us</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_8097837459471667281WordSection1">
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have two similar tilesets configured in Mapcache. One of the tilesets displays a political map at small scales, then changes to an air photo map as the user zooms into the map. The second tileset displays air photos at every zoom level.
It would be useful if these tilesets could share a single cache for zoom levels 5-11. This way we could save a significant amount of space on the server.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Example #1:<u></u><u></u></p>
<p class="MsoNormal">Political and Air Photo Basemap:<u></u><u></u></p>
<p class="gmail-m_8097837459471667281MsoListParagraph"><u></u><span style="font-family:Symbol"><span>·<span style="font:7pt "Times New Roman"">
</span></span></span><u></u>Zoom level 0-4: Use the cache from the “political map cache”<u></u><u></u></p>
<p class="gmail-m_8097837459471667281MsoListParagraph"><u></u><span style="font-family:Symbol"><span>·<span style="font:7pt "Times New Roman"">
</span></span></span><u></u>Zoom level 5-11: Use the cache from the “air photo cache”<u></u><u></u></p>
<p class="MsoNormal">Air Photo Basemap<u></u><u></u></p>
<p class="gmail-m_8097837459471667281MsoListParagraph"><u></u><span style="font-family:Symbol"><span>·<span style="font:7pt "Times New Roman"">
</span></span></span><u></u>Zoom level 0-11: Use the cache from the “air photo cache”<u></u><u></u></p>
<p class="MsoNormal">Result:<u></u><u></u></p>
<p class="gmail-m_8097837459471667281MsoListParagraph"><u></u><span style="font-family:Symbol"><span>·<span style="font:7pt "Times New Roman"">
</span></span></span><u></u>Any tiles at level 5-11, which will take up the majority of the space on the sever will not need to be duplicated between the two tilesets.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Please let me know if it is possible to share caches between different tilesets.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Sincerely,<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="color:rgb(31,73,125)">Mark Volz, GISP</span></b><b><span style="font-size:12pt;color:rgb(31,73,125)"><u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="color:rgb(31,73,125)">Lyon County GIS Coordinator<u></u><u></u></span></b></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div>