[mapserver-users] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?

Eichner, Andreas - SID Andreas.Eichner at sid.sachsen.de
Thu Oct 24 02:36:46 PDT 2019


What about symlinking the level directories?

> -----Original Message-----
> From: mapserver-users [mailto:mapserver-users-
> bounces at lists.osgeo.org] On Behalf Of Mark Volz
> Sent: Wednesday, October 23, 2019 4:12 PM
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] Mapcache - Is it possible to have two
> tilesets share a single cache at particular zoom levels?
> 
> 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
> 
> 




More information about the MapServer-users mailing list