org.geotools.arcsde.raster.gce
Class ArcSDEGridCoverage2DReaderJAI
java.lang.Object
org.geotools.coverage.grid.io.AbstractGridCoverage2DReader
org.geotools.arcsde.raster.gce.ArcSDEGridCoverage2DReaderJAI
- All Implemented Interfaces:
- org.opengis.coverage.grid.GridCoverageReader
public final class ArcSDEGridCoverage2DReaderJAI
- extends AbstractGridCoverage2DReader
- Since:
- 2.5.4
- Version:
- $Id: ArcSDEGridCoverage2DReaderJAI.java 35100 2010-03-23 15:02:18Z groldan $
- Author:
- Gabriel Roldan (OpenGeo)
Fields inherited from class org.geotools.coverage.grid.io.AbstractGridCoverage2DReader |
closeMe, coverageFactory, coverageName, crs, demColors, EPS, gzipped, highestRes, hints, inStream, numOverviews, originalEnvelope, originalGridRange, overViewResolutions, raster2Model, source |
Method Summary |
org.opengis.coverage.grid.Format |
getFormat()
|
ServiceInfo |
getInfo()
Information about this source. |
GridCoverage2D |
read(org.opengis.parameter.GeneralParameterValue[] params)
Read the current grid coverage from the stream. |
Methods inherited from class org.geotools.coverage.grid.io.AbstractGridCoverage2DReader |
createImageCoverage, createImageCoverage, decimationOnReadingControl, dispose, finalize, getCrs, getCurrentSubname, getGridCoverageCount, getMetadataNames, getMetadataValue, getOriginalEnvelope, getOriginalGridRange, getOriginalGridToWorld, getResolution, getSource, hasMoreGridCoverages, listSubNames, setReadParams, skip |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArcSDEGridCoverage2DReaderJAI
public ArcSDEGridCoverage2DReaderJAI(ArcSDERasterFormat parent,
RasterReaderFactory rasterReaderFactory,
RasterDatasetInfo rasterInfo,
Hints hints)
throws java.io.IOException
- Throws:
java.io.IOException
getFormat
public org.opengis.coverage.grid.Format getFormat()
- See Also:
GridCoverageReader.getFormat()
getInfo
public ServiceInfo getInfo()
- Description copied from class:
AbstractGridCoverage2DReader
- Information about this source.
Subclasses should provide additional format specific information.
- Overrides:
getInfo
in class AbstractGridCoverage2DReader
- Returns:
- ServiceInfo describing getSource().
read
public GridCoverage2D read(org.opengis.parameter.GeneralParameterValue[] params)
throws java.io.IOException
- Description copied from class:
AbstractGridCoverage2DReader
- Read the current grid coverage from the stream.
Example:
The method AbstractGridCoverage2DReader.hasMoreGridCoverages()
should be invoked first in order to verify that a
coverage is available.
- Specified by:
read
in interface org.opengis.coverage.grid.GridCoverageReader
- Specified by:
read
in class AbstractGridCoverage2DReader
- Parameters:
params
- Optional parameters matching Format.getReadParameters()
.
- Returns:
- A new grid coverage from the input source, or
null
if the requested envelope is outside the data bounds
- Throws:
java.io.IOException
- if a read operation failed for some other input/output reason, including
FileNotFoundException
if no file with the given name
can be
found, or IIOException
if an error was thrown by the
underlying image library.- See Also:
GridCoverageReader.read(GeneralParameterValue[])
Copyright © 1996-2010 Geotools. All Rights Reserved.