coverageName,
resolutionLevels[imageChoice.intValue()][0],
resolutionLevels[imageChoice.intValue()][1]);
}
final RasterDataAdapter adapter = (RasterDataAdapter) geowaveAdapterStore.getAdapter(new ByteArrayId(
coverageName));
final CloseableIterator<GridCoverage> gridCoverageIt = queryForTiles(
pixelDimension,
state.getRequestEnvelopeTransformed(),
resolutionLevels[imageChoice.intValue()][0],
resolutionLevels[imageChoice.intValue()][1],
adapter);
final GridCoverage2D result = RasterUtils.mosaicGridCoverages(
gridCoverageIt,
backgroundColor,
outputTransparentColor,
pixelDimension,
state.getRequestEnvelopeTransformed(),
resolutionLevels[imageChoice.intValue()][0],
resolutionLevels[imageChoice.intValue()][1],
adapter.getNoDataValuesPerBand(),
state.isXAxisSwitch(),
coverageFactory,
state.getCoverageName(),
config.getInterpolation(),
histogram);