public Retriever createRetriever(AVList tileParams, RetrievalPostProcessor postProcessor) { LocalRasterServerRetriever retriever = new LocalRasterServerRetriever(tileParams, this.rasterServer, postProcessor); // copy only values that do not exist in destination AVList // from rasterServerParams (source) to retriever (destination) String[] keysToCopy = new String[] { AVKey.DATASET_NAME, AVKey.DISPLAY_NAME, AVKey.FILE_STORE, AVKey.IMAGE_FORMAT, AVKey.FORMAT_SUFFIX }; WWUtil.copyValues(rasterServerParams, retriever, keysToCopy, false); return(retriever); }
public Retriever createRetriever(AVList tileParams, RetrievalPostProcessor postProcessor) { LocalRasterServerRetriever retriever = new LocalRasterServerRetriever(tileParams, rasterServer, postProcessor); // copy only values that do not exist in destination AVList // from rasterServerParams (source) to retriever (destination) String[] keysToCopy = new String[] { AVKey.DATASET_NAME, AVKey.DISPLAY_NAME, AVKey.FILE_STORE, AVKey.BYTE_ORDER, AVKey.IMAGE_FORMAT, AVKey.DATA_TYPE, AVKey.FORMAT_SUFFIX, AVKey.MISSING_DATA_SIGNAL, AVKey.MISSING_DATA_REPLACEMENT, AVKey.ELEVATION_MIN, AVKey.ELEVATION_MAX, }; WWUtil.copyValues(rasterServerParams, retriever, keysToCopy, false); return(retriever); }