Package mil.nga.giat.geowave.raster.adapter

Examples of mil.nga.giat.geowave.raster.adapter.RasterDataAdapter


                reader.getMetadataValue(
                    coverageName,
                    mdName));
          }
        }
        final RasterDataAdapter adapter = new RasterDataAdapter(
            input.getName(),
            metadata,
            coverage);
        final List<GeoWaveData<GridCoverage>> coverages = new ArrayList<GeoWaveData<GridCoverage>>();
        coverages.add(new GeoWaveData<GridCoverage>(
View Full Code Here


          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);
View Full Code Here

    if (!checkName(coverageName)) {
      LOGGER.warn("Unable to find data adapter for '" + coverageName + "'");
      return null;
    }

    final RasterDataAdapter adapter = (RasterDataAdapter) geowaveAdapterStore.getAdapter(new ByteArrayId(
        coverageName));
    final GridEnvelope gridEnvelope = getOriginalGridRange();
    return new ImageLayout().setMinX(
        gridEnvelope.getLow(0)).setMinY(
        gridEnvelope.getLow(1)).setTileWidth(
        adapter.getTileSize()).setTileHeight(
        adapter.getTileSize()).setSampleModel(
        adapter.getSampleModel()).setColorModel(
        adapter.getColorModel()).setWidth(
        gridEnvelope.getHigh(0)).setHeight(
        gridEnvelope.getHigh(1));
  }
View Full Code Here

TOP

Related Classes of mil.nga.giat.geowave.raster.adapter.RasterDataAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.