The TLcdEarthRepositoryModelFactory allows you to create a TLcdEarthTileRepository, which allows you to store tiles in a database on disk.

See samples.earth.preprocessor.MainPanel for an example of importing metadata and synchronizing it with a TLcdEarthTileRepository.