Class CoverageModifier.Source
Object
Source
- Direct Known Subclasses:
CoverageModifier.BandSource
- Enclosing interface:
CoverageModifier
Information about which file and coverage (image) is subject to modification.
Coverages are identified by their index, starting at 0 and incremented sequentially.
- Since:
- 1.5
-
Constructor Summary
ConstructorsConstructorDescriptionSource
(DataStore store) Creates a new source for the file as a whole.Source
(DataStore store, int coverageIndex, DataType dataType) Creates a new source for a coverage at the specified index. -
Method Summary
Modifier and TypeMethodDescriptionReturns the index of the coverage for which to modify the description.Return the data store for which to modify a file, coverage (image) or sample dimension (band) description.Returns the type in which the coverage (raster) data are stored.Returns a string representation for debugging purposes.
-
Constructor Details
-
Source
Creates a new source for the file as a whole. The coverage index and data type are unspecified.- Parameters:
store
- the data store for which to modify some coverages or sample dimensions.
-
Source
Creates a new source for a coverage at the specified index.- Parameters:
store
- the data store for which to modify some coverages or sample dimensions.coverageIndex
- index of the coverage (image) for which to compute information.dataType
- the type of raster data, ornull
if unknown.
-
-
Method Details
-
getDataStore
Return the data store for which to modify a file, coverage (image) or sample dimension (band) description.- Returns:
- the data store for which to modify a description.
-
getCoverageIndex
Returns the index of the coverage for which to modify the description. If absent, then the modifications apply to the whole file.Interpretation in GeoTIFF files
The index starts with 0 for the first (potentially pyramided) coverage and is incremented by 1 after each pyramid, as defined by the cloud Optimized GeoTIFF specification. Therefore, this index may differ from the TIFF Image File Directory (IFD) index.- Returns:
- the index of the coverage to eventually modify.
-
getDataType
-
toString
-