Re: [mapserver-users] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?
You'd still need to configure the political map tileset not to generate tiles in the symlinked folders but to serve tiles from those folders - I don't think that's possible. IMHO it's better to configure your political map tiles to only be available for a specific range of zoom levels and advertise that explicitly. On Thu, Oct 24, 2019 at 3:34 PM Mark Volz wrote: > Andreas, > > Good idea. It looks like Windows can create symlinks. I suppose I could > try symlinking the cache for levels 5-11. Do you know if I would need to > create hard or soft links to do this? Also, I would like to make sure our > backup software does not try to backup the actual data twice... > Reference: > https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/ > > Thanks! > > Sincerely, > Mark Volz, GISP > Lyon County GIS Coordinator > 504 Fairgrounds Rd > Marshall, MN 56258 > Ph: (507) 532-8218 > http://lyonco.org/ > http://geomoose.lyonco.org/ > > > >What about symlinking the level directories? > > > > -Original Message- > > From: mapserver-users [mailto:mapserver-users- > > boun...@lists.osgeo.org] On Behalf Of Mark Volz > > Sent: Wednesday, October 23, 2019 4:12 PM > > To: mapserver-users@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 > > > > > ___ > 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
Re: [mapserver-users] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?
Andreas, Good idea. It looks like Windows can create symlinks. I suppose I could try symlinking the cache for levels 5-11. Do you know if I would need to create hard or soft links to do this? Also, I would like to make sure our backup software does not try to backup the actual data twice... Reference: https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/ Thanks! Sincerely, Mark Volz, GISP Lyon County GIS Coordinator 504 Fairgrounds Rd Marshall, MN 56258 Ph: (507) 532-8218 http://lyonco.org/ http://geomoose.lyonco.org/ >What about symlinking the level directories? > -Original Message- > From: mapserver-users [mailto:mapserver-users- > boun...@lists.osgeo.org] On Behalf Of Mark Volz > Sent: Wednesday, October 23, 2019 4:12 PM > To: mapserver-users@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 > > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?
What about symlinking the level directories? > -Original Message- > From: mapserver-users [mailto:mapserver-users- > boun...@lists.osgeo.org] On Behalf Of Mark Volz > Sent: Wednesday, October 23, 2019 4:12 PM > To: mapserver-users@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 > > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users