The DTEDFrameCache can be placed in the MapHandler, where other objects can share it in order to all use the same DTED data. It can be configured with properties:
frameCache.cacheSize=40 frameCache.directoryHandlers=dteddir1 dteddir2 frameCache.dteddir1.translator=com.bbn.openmap.dataAccess.dted.StandardDTEDNameTranslator frameCache.dteddir1.path=/data/dted frameCache.dteddir2.translator=com.bbn.openmap.dataAccess.dted.StandardDTEDNameTranslator frameCache.dteddir2.path=/data/dtedA DTEDDirectoryHandler needs to be specified for each DTED directory you want to use. If a translator isn't specified in the properties for a directory handler, the StandardDTEDNameTranslator will be used. If you have DTED data that doesn't conform to the naming conventions specified in the Military Standard, you can use a different DTEDNameTranslator instead for your particular directory handler.
|
|
|
|