You are using a version of osgEarth that did not yet (officially) support mixing Mercator and Geodetic profiles. Upgrade to the newest version (either 1.1 or SVN HEAD) to get this support. Once you do, you can just write a driver that reports a global mercator profile, and osgEarth will render it in geodetic context automatically.
osgEarth keeps a small memory cache around that really speeds up compositing operations that are necessary when using mixed profiles.
There are a couple of ways we could probably get around your issue. One would be to provide a way to configure the number of tiles that are kept around in the memory cache. You could then set the number of tiles to 0 would effectively disable the memory cache and you would always get the freshest data.
We could also provide a "flush" function that would effectively empty the cache, which would also be nice to have for disk based caches.
Both are probably good things to have. I'll add a ticket for both of these to osgEarth.
On Tue, Apr 28, 2009 at 8:11 AM, Aurelien (via Nabble) <[hidden email]> wrote:
Thanks for the answer !
I'll switch to new version tomorrow !
Another question :
Images created by createImage(const osgEarth::TileKey* pKey) seems to be cached (not on the hard drive, but in memory).
Is there anyway to "flush" the cache and force createImage to be called again ?
(I need to generate new images after GUI interaction...)