org.geotools.coverageio.gdal.jp2mrsid
Class JP2MrSIDReader

Object
  extended by AbstractGridCoverage2DReader
      extended by BaseGridCoverage2DReader
          extended by BaseGDALGridCoverage2DReader
              extended by JP2MrSIDReader
All Implemented Interfaces:
GridCoverageReader

public final class JP2MrSIDReader
extends BaseGDALGridCoverage2DReader
implements GridCoverageReader

This class can read a JP2K data source and create a GridCoverage2D from the data.

Since:
2.5.x
Author:
Daniele Romagnoli, GeoSolutions., Simone Giannecchini (simboss), GeoSolutions

Field Summary
 
Fields inherited from class AbstractGridCoverage2DReader
closeMe, coverageFactory, crs, demColors, EPS, gzipped, highestRes, hints, inStream, numOverviews, originalEnvelope, originalGridRange, overViewResolutions, raster2Model, source
 
Constructor Summary
JP2MrSIDReader(Object input)
          Creates a new instance of a JP2MrSIDReader.
JP2MrSIDReader(Object input, Hints hints)
          Creates a new instance of a JP2MrSIDReader basing the decision on whether the file is compressed or not.
 
Method Summary
 Format getFormat()
           
 
Methods inherited from class BaseGDALGridCoverage2DReader
setCoverageProperties
 
Methods inherited from class BaseGridCoverage2DReader
getCoverageCRS, getCoverageEnvelope, getCoverageGridRange, getCoverageName, getGridCoverageCount, getInfo, getInfo, getInputFile, hasMoreGridCoverages, parsePRJFile, parseWorldFile, read, setCoverageCRS, setCoverageEnvelope, setCoverageGridRange
 
Methods inherited from class AbstractGridCoverage2DReader
createImageCoverage, createImageCoverage, decimationOnReadingControl, dispose, finalize, getCrs, getCurrentSubname, getMetadataNames, getMetadataValue, getOriginalEnvelope, getOriginalGridRange, getOriginalGridToWorld, getResolution, getSource, listSubNames, setReadParams, skip
 
Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface GridCoverageReader
dispose, getCurrentSubname, getMetadataNames, getMetadataValue, getSource, hasMoreGridCoverages, listSubNames, read, skip
 

Constructor Detail

JP2MrSIDReader

public JP2MrSIDReader(Object input)
               throws DataSourceException
Creates a new instance of a JP2MrSIDReader. I assume nothing about file extension.

Parameters:
input - Source object for which we want to build a JP2MrSIDReader.
Throws:
DataSourceException

JP2MrSIDReader

public JP2MrSIDReader(Object input,
                      Hints hints)
               throws DataSourceException
Creates a new instance of a JP2MrSIDReader basing the decision on whether the file is compressed or not. I assume nothing about file extension.

Parameters:
input - Source object for which we want to build a JP2MrSIDReader.
hints - Hints to be used by this reader throughout his life.
Throws:
DataSourceException
Method Detail

getFormat

public Format getFormat()
Specified by:
getFormat in interface GridCoverageReader
See Also:
GridCoverageReader.getFormat()


Copyright © 1996-2009 Geotools. All Rights Reserved.