public class ImageMosaicJDBCReader extends AbstractGridCoverage2DReader
All jdbc databases which are able to handle blobs are supported.
Additonally, spatial extensions for mysql,postgis,db2 and oracle are supported
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_IMAGE_TYPE |
protected static CoordinateOperationFactory |
operationFactory |
closeMe, coverageFactory, coverageName, crs, dtLayout, EPS, gzipped, highestRes, hints, inStream, inStreamSPI, numOverviews, originalEnvelope, originalGridRange, overViewResolutions, raster2Model, source
ELEVATION_DOMAIN, ELEVATION_DOMAIN_MAXIMUM, ELEVATION_DOMAIN_MINIMUM, ELEVATION_DOMAIN_RESOLUTION, FILE_SOURCE_PROPERTY, HAS_ELEVATION_DOMAIN, HAS_TIME_DOMAIN, MULTICRS_READER, REPROJECTING_READER, SOURCE_URL_PROPERTY, TIME_DOMAIN, TIME_DOMAIN_MAXIMUM, TIME_DOMAIN_MINIMUM, TIME_DOMAIN_RESOLUTION
Constructor and Description |
---|
ImageMosaicJDBCReader(Object source)
Constructor.
|
ImageMosaicJDBCReader(Object source,
Hints uHints) |
Modifier and Type | Method and Description |
---|---|
Format |
getFormat()
Returns the format handled by this
GridCoverageReader . |
GridCoverage2D |
read(GeneralParameterValue[] params)
Read the current grid coverage from the stream.
|
addAllSiblings, addSiblings, checkName, createImageCoverage, createImageCoverage, createImageCoverage, createImageCoverage, decimationOnReadingControl, dispose, finalize, getCoordinateReferenceSystem, getCoordinateReferenceSystem, getCrs, getCurrentSubname, getDatasetLayout, getDatasetLayout, getDynamicParameters, getDynamicParameters, getFiles, getGridCoverageCount, getGridCoverageNames, getGroundControlPoints, getGroundControlPoints, getHighestRes, getImageLayout, getImageLayout, getInfo, getInfo, getMetadataNames, getMetadataNames, getMetadataValue, getMetadataValue, getMultiLevelROIProvider, getNumOverviews, getNumOverviews, getOriginalEnvelope, getOriginalEnvelope, getOriginalGridRange, getOriginalGridRange, getOriginalGridToWorld, getOriginalGridToWorld, getOverviewGridEnvelope, getOverviewGridEnvelope, getReadingResolutions, getReadingResolutions, getRescaledRasterToModel, getResolution, getResolutionLevels, getResolutionLevels, getSibling, getSource, getSourceAsFile, hasMoreGridCoverages, listSubNames, read, setlayout, setLayout, setReadParams, setReadParams, skip
protected static final CoordinateOperationFactory operationFactory
protected static int DEFAULT_IMAGE_TYPE
public ImageMosaicJDBCReader(Object source, Hints uHints) throws IOException, MalformedURLException
source
- The source object.uHints
- IOException
MalformedURLException
public ImageMosaicJDBCReader(Object source) throws IOException
source
- The source object.IOException
UnsupportedEncodingException
public Format getFormat()
GridCoverageReader
GridCoverageReader
.public GridCoverage2D read(GeneralParameterValue[] params) throws IOException
AbstractGridCoverage2DReader
Example:
The method AbstractGridCoverage2DReader.hasMoreGridCoverages()
should be invoked first in order to verify that a
coverage is available.read
in interface GridCoverage2DReader
read
in interface GridCoverageReader
read
in class AbstractGridCoverage2DReader
params
- Optional parameters matching Format.getReadParameters()
.IOException
- if a read operation failed for some other input/output reason, including
FileNotFoundException
if no file with the given name
can be found, or
IIOException
if an error was thrown by the underlying image
library.Copyright © 1996–2019 Geotools. All rights reserved.