Class MrSIDReader
- All Implemented Interfaces:
GridCoverageReader,GridCoverage2DReader
This class can read a MrSID 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 BaseGDALGridCoverage2DReader
DEFAULT_WORLDFILE_EXTFields inherited from class BaseGridCoverage2DReader
multiLevelRoi, nodata, resourceInfoFields inherited from class AbstractGridCoverage2DReader
closeMe, coverageFactory, coverageName, crs, dtLayout, EPS, gzipped, highestRes, hints, inStream, inStreamSPI, numOverviews, offsets, originalEnvelope, originalGridRange, overViewResolutions, raster2Model, scales, sourceFields inherited from interface GridCoverage2DReader
ELEVATION_DOMAIN, ELEVATION_DOMAIN_MAXIMUM, ELEVATION_DOMAIN_MINIMUM, ELEVATION_DOMAIN_RESOLUTION, FILE_SOURCE_PROPERTY, HAS_ELEVATION_DOMAIN, HAS_TIME_DOMAIN, MULTICRS_EPSGCODES, MULTICRS_READER, PAM_DATASET, REPROJECTING_READER, SOURCE_URL_PROPERTY, TIME_DOMAIN, TIME_DOMAIN_MAXIMUM, TIME_DOMAIN_MINIMUM, TIME_DOMAIN_RESOLUTION -
Constructor Summary
ConstructorsConstructorDescriptionMrSIDReader(Object input) Creates a new instance of aMrSIDReader.MrSIDReader(Object input, Hints hints) Creates a new instance of aMrSIDReader. -
Method Summary
Modifier and TypeMethodDescriptionReturns the format handled by thisGridCoverageReader.protected voidsetCoverageProperties(ImageReader reader) Setting Envelope, GridRange and CRS from the givenImageReaderMethods inherited from class BaseGDALGridCoverage2DReader
getInfoMethods inherited from class BaseGridCoverage2DReader
getCoverageName, getGridCoverageCount, getHighestRes, getInfo, getInputFile, getMultiLevelRoi, getMultiLevelROIProvider, getNodata, parsePRJFile, parseWorldFile, readMethods inherited from class AbstractGridCoverage2DReader
addAllSiblings, addSiblings, checkName, collectScaleOffset, createImageCoverage, createImageCoverage, createImageCoverage, createImageCoverage, decimationOnReadingControl, dispose, finalize, getCoordinateReferenceSystem, getCoordinateReferenceSystem, getDatasetLayout, getDatasetLayout, getDynamicParameters, getDynamicParameters, getFiles, getGridCoverageNames, getGroundControlPoints, getGroundControlPoints, getHighestRes, getImageLayout, getImageLayout, getMetadataNames, getMetadataNames, getMetadataValue, getMetadataValue, getOriginalEnvelope, getOriginalEnvelope, getOriginalGridRange, getOriginalGridRange, getOriginalGridToWorld, getOriginalGridToWorld, getOverviewGridEnvelope, getOverviewGridEnvelope, getPamDataset, getPamDataset, getReadingResolutions, getReadingResolutions, getRescaledRasterToModel, getResolution, getResolutionLevels, getResolutionLevels, getSibling, getSource, getSourceAsFile, read, setlayout, setLayout, setReadParams, setReadParamsMethods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GridCoverage2DReader
getCoordinateReferenceSystem, getCoordinateReferenceSystem, getDatasetLayout, getDatasetLayout, getDynamicParameters, getDynamicParameters, getImageLayout, getImageLayout, getInfo, getOriginalEnvelope, getOriginalEnvelope, getOriginalGridRange, getOriginalGridRange, getOriginalGridToWorld, getOriginalGridToWorld, getReadingResolutions, getReadingResolutions, getResolutionLevels, getResolutionLevels, read, readMethods inherited from interface GridCoverageReader
dispose, getGridCoverageCount, getGridCoverageNames, getMetadataNames, getMetadataNames, getMetadataValue, getMetadataValue, getSource
-
Constructor Details
-
MrSIDReader
Creates a new instance of aMrSIDReader. I assume nothing about file extension.- Parameters:
input- Source object for which we want to build aMrSIDReader.- Throws:
DataSourceException
-
MrSIDReader
Creates a new instance of aMrSIDReader. I assume nothing about file extension.- Parameters:
input- Source object for which we want to build aMrSIDReader.hints- Hints to be used by this reader throughout his life.- Throws:
DataSourceException
-
-
Method Details
-
setCoverageProperties
Setting Envelope, GridRange and CRS from the givenImageReader- Overrides:
setCoveragePropertiesin classBaseGDALGridCoverage2DReader- Parameters:
reader- theImageReaderfrom which to retrieve metadata (if available) for setting properties- Throws:
IOException
-
getFormat
Description copied from interface:GridCoverageReaderReturns the format handled by thisGridCoverageReader.- Specified by:
getFormatin interfaceGridCoverageReader- See Also:
-