public abstract class GeoSpatialImageReader extends ImageReader implements FileSetManager
Modifier and Type | Field and Description |
---|---|
protected File |
file
The source file
|
protected int |
numImages |
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales
Modifier | Constructor and Description |
---|---|
protected |
GeoSpatialImageReader(ImageReaderSpi originatingProvider) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkImageIndex(int imageIndex)
Simple check of the specified image index.
|
void |
dispose() |
protected void |
finalize() |
String |
getAuxiliaryDatastorePath() |
String |
getAuxiliaryFilesPath() |
CoverageSlicesCatalog |
getCatalog()
Returns the underlying slicesCatalog.
|
abstract CoverageSourceDescriptor |
getCoverageDescriptor(Name name) |
abstract Collection<Name> |
getCoveragesNames()
Return the name of coverages made available by this provider
|
abstract int |
getCoveragesNumber()
The number of coverages made available by this provider.
|
List<Integer> |
getImageIndex(Query filterQuery)
Return the list of imageIndex related to the feature in the slicesCatalog which result from
the specified query.
|
IIOMetadata |
getImageMetadata(int imageIndex) |
int |
getNumImages(boolean allowSearch) |
IIOMetadata |
getStreamMetadata() |
protected void |
initCatalog(DataStoreConfiguration datastoreConfig)
Initialize a slicesCatalog on top of the provided
DataStoreConfiguration instance |
protected void |
initCatalog(File parentLocation,
String databaseName)
Init the slicesCatalog based on the provided parameters
|
void |
setAuxiliaryDatastorePath(String auxiliaryDatastorePath) |
void |
setAuxiliaryFilesPath(String auxiliaryFilesPath) |
protected void |
setCatalog(CoverageSlicesCatalog catalog) |
void |
setRepository(Repository repository) |
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, canReadRaster, checkReadParamBandSettings, clearAbortRequest, computeRegions, getAspectRatio, getAvailableLocales, getDefaultReadParam, getDestination, getFormatName, getHeight, getImageMetadata, getImageTypes, getInput, getLocale, getMinIndex, getNumThumbnails, getOriginatingProvider, getRawImageType, getSourceRegion, getStreamMetadata, getThumbnailHeight, getThumbnailWidth, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, hasThumbnails, isIgnoringMetadata, isImageTiled, isRandomAccessEasy, isSeekForwardOnly, processImageComplete, processImageProgress, processImageStarted, processImageUpdate, processPassComplete, processPassStarted, processReadAborted, processSequenceComplete, processSequenceStarted, processThumbnailComplete, processThumbnailPassComplete, processThumbnailPassStarted, processThumbnailProgress, processThumbnailStarted, processThumbnailUpdate, processWarningOccurred, processWarningOccurred, read, read, readAll, readAll, readAsRenderedImage, readerSupportsThumbnails, readRaster, readThumbnail, readTile, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, reset, setInput, setInput, setInput, setLocale
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFile, list, purge, removeFile
protected File file
protected int numImages
protected GeoSpatialImageReader(ImageReaderSpi originatingProvider)
public IIOMetadata getImageMetadata(int imageIndex) throws IOException
getImageMetadata
in class ImageReader
IOException
public void dispose()
dispose
in class ImageReader
public IIOMetadata getStreamMetadata() throws IOException
getStreamMetadata
in class ImageReader
IOException
protected void checkImageIndex(int imageIndex)
IndexOutOfBoundsException
is thrown.imageIndex
- the index to be checkedpublic int getNumImages(boolean allowSearch) throws IOException
getNumImages
in class ImageReader
IOException
public abstract Collection<Name> getCoveragesNames()
public abstract int getCoveragesNumber()
public abstract CoverageSourceDescriptor getCoverageDescriptor(Name name)
name
- protected void setCatalog(CoverageSlicesCatalog catalog)
public List<Integer> getImageIndex(Query filterQuery) throws IOException
filterQuery
- the filter query (temporal, vertical, name selection) to restrict the
requested imageIndexesIOException
public String getAuxiliaryFilesPath()
public void setAuxiliaryFilesPath(String auxiliaryFilesPath)
public String getAuxiliaryDatastorePath()
public void setAuxiliaryDatastorePath(String auxiliaryDatastorePath)
public void setRepository(Repository repository)
public CoverageSlicesCatalog getCatalog()
protected void initCatalog(File parentLocation, String databaseName) throws IOException
parentLocation
- databaseName
- IOException
protected void initCatalog(DataStoreConfiguration datastoreConfig) throws IOException
DataStoreConfiguration
instancedatastoreConfig
- IOException
Copyright © 1996–2019 Geotools. All rights reserved.