gwaldron / osgearth

3D Maps for OpenSceneGraph / C++14
https://www.pelicanmapping.com/home-1/opensource
Other
1.48k stars 774 forks source link

Cache-only mode: various layers don't support it correctly #2491

Open gwaldron opened 5 months ago

gwaldron commented 5 months ago

Describe the bug Some layers, like coveragelayer, lifemaplayer, and in general layer types that reference other layers with LayerReference, tend to have problems with cache-only mode.

Expected behavior Cache-only mode should always go to the highest-level cache and never bother trying to open dependent layers.

A refactor of the caching system in general MAY be in order