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:
http://maps1.dnr.state.mn.us/test/tiles/switch.html 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 On Wed, Oct 23, 2019 at 9:29 AM Mark Volz <markv...@co.lyon.mn.us> wrote: > Hello, > > > > 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. > > > > Example #1: > > Political and Air Photo Basemap: > > · Zoom level 0-4: Use the cache from the “political map cache” > > · Zoom level 5-11: Use the cache from the “air photo cache” > > Air Photo Basemap > > · Zoom level 0-11: Use the cache from the “air photo cache” > > Result: > > · 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. > > > > Please let me know if it is possible to share caches between different > tilesets. > > > > Thanks! > > > > Sincerely, > > *Mark Volz, GISP* > > *Lyon County GIS Coordinator* > > > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users