}
private TileRange createTileRange( WMTSource wmtSource, WMTRenderJob renderJob,
Map<String, Tile> tileList ) {
TileRange range;
TileSet tileset = new WMTTileSetWrapper(wmtSource);
String value = CatalogPlugin.getDefault().getPreferenceStore().getString(PreferenceConstants.P_WMSCTILE_CACHING);
if (value.equals(WMSCTileCaching.ONDISK.toString())) {
String dir = CatalogPlugin.getDefault().getPreferenceStore().getString(PreferenceConstants.P_WMSCTILE_DISKDIR);
WMTTileImageReadWriter tileReadWriter = new WMTTileImageReadWriter(dir);