Package org.geotools.vsi
Class VSIReader
-
- All Implemented Interfaces:
GridCoverageReader
,GridCoverage2DReader
public final class VSIReader extends BaseGDALGridCoverage2DReader implements GridCoverageReader
This class can read a VSI data source and create aGridCoverage2D
from the data.- Author:
- Matthew Northcott, Catalyst IT Ltd.
-
-
Field Summary
-
Fields inherited from class BaseGDALGridCoverage2DReader
DEFAULT_WORLDFILE_EXT
-
Fields inherited from class BaseGridCoverage2DReader
multiLevelRoi, nodata, resourceInfo
-
Fields inherited from class AbstractGridCoverage2DReader
closeMe, coverageFactory, coverageName, crs, dtLayout, EPS, gzipped, highestRes, hints, inStream, inStreamSPI, numOverviews, offsets, originalEnvelope, originalGridRange, overViewResolutions, raster2Model, scales, source
-
Fields 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
Constructors Constructor Description VSIReader(Object input)
Creates a new instance of aGridCoverageReader
.VSIReader(Object input, Hints hints)
Creates a new instance of aGridCoverageReader
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Format
getFormat()
Return the corresponding format object for this resource-
Methods inherited from class BaseGDALGridCoverage2DReader
getInfo, setCoverageProperties
-
Methods inherited from class BaseGridCoverage2DReader
getCoverageName, getGridCoverageCount, getHighestRes, getInfo, getInputFile, getMultiLevelRoi, getMultiLevelROIProvider, getNodata, parsePRJFile, parseWorldFile, read
-
Methods 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, setReadParams
-
Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface GridCoverage2DReader
getCoordinateReferenceSystem, getCoordinateReferenceSystem, getDatasetLayout, getDatasetLayout, getDynamicParameters, getDynamicParameters, getImageLayout, getImageLayout, getInfo, getOriginalEnvelope, getOriginalEnvelope, getOriginalGridRange, getOriginalGridRange, getOriginalGridToWorld, getOriginalGridToWorld, getReadingResolutions, getReadingResolutions, getResolutionLevels, getResolutionLevels, read, read
-
Methods inherited from interface GridCoverageReader
dispose, getGridCoverageCount, getGridCoverageNames, getMetadataNames, getMetadataNames, getMetadataValue, getMetadataValue, getSource
-
-
-
-
Constructor Detail
-
VSIReader
public VSIReader(Object input) throws IOException
Creates a new instance of aGridCoverageReader
.- Parameters:
input
- Source object for which we want to build anVSIReader
.- Throws:
IOException
-
VSIReader
public VSIReader(Object input, Hints hints) throws IOException
Creates a new instance of aGridCoverageReader
.- Parameters:
input
- Source object for which we want to build anVSIReader
.hints
- Hints to be used by this reader throughout its life.- Throws:
IOException
-
-
Method Detail
-
getFormat
public Format getFormat()
Return the corresponding format object for this resource- Specified by:
getFormat
in interfaceGridCoverageReader
- Returns:
- an instance of the VSIFormat object that corresponds to this resource
-
-