public class ImageMosaicJDBCFormat extends AbstractGridFormat implements Format
AbstractGridFormat sublass for controlling ImageMosaicJDBCReader creation.
As the name says, it handles mosaicing georeferenced images and image pyramids, based on tiles stored in a JDBC database.
The stored tiles in the database could have any format jai can decode.
| Modifier and Type | Field and Description |
|---|---|
static ParameterDescriptor<Color> |
OUTPUT_TRANSPARENT_COLOR
Control the transparency of the output coverage.
|
BACKGROUND_COLOR, BANDS, DECIMATION_POLICY, ELEVATION, FOOTPRINT_BEHAVIOR, GEOTOOLS_WRITE_PARAMS, INPUT_TRANSPARENT_COLOR, INTERPOLATION, mInfo, OVERVIEW_POLICY, PROGRESS_LISTENER, READ_GRIDGEOMETRY2D, readParameters, SUGGESTED_TILE_SIZE, TILE_SIZE_SEPARATOR, TIME, USE_JAI_IMAGEREAD, writeParameters| Constructor and Description |
|---|
ImageMosaicJDBCFormat()
Creates an instance and sets the metadata.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Object source,
Hints hints)
Tells me if this
Format can read the provided input. |
GeoToolsWriteParams |
getDefaultImageIOWriteParameters()
Throw an exception since this plugin is readonly.
|
ImageMosaicJDBCReader |
getReader(Object source)
Gets a
GridCoverageReader for this format able to create coverages out of the
source object. |
ImageMosaicJDBCReader |
getReader(Object source,
Hints hints)
Gets a
GridCoverageReader for this format able to create coverages out of the
source object using the provided hints. |
static URL |
getURLFromSource(Object source) |
GridCoverageWriter |
getWriter(Object destination)
Retrieves a
GridCoverageWriter suitable for writing to the provided destination
with this format. |
GridCoverageWriter |
getWriter(Object destination,
Hints hints)
Call the accepts() method before asking for a writer to determine if the current object is
supported.
|
accepts, equals, getDefaultCRS, getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameterspublic static final ParameterDescriptor<Color> OUTPUT_TRANSPARENT_COLOR
public ImageMosaicJDBCFormat()
public ImageMosaicJDBCReader getReader(Object source)
AbstractGridFormatGridCoverageReader for this format able to create coverages out of the
source object.
In case this Format cannot reader the provided source object
null is returned.
getReader in class AbstractGridFormatsource - The source object to parse.Format or null.org.geotools.data.coverage.grid.AbstractGridFormat#getReader(Object)public GridCoverageWriter getWriter(Object destination)
AbstractGridFormatGridCoverageWriter suitable for writing to the provided destination
with this format.
In case no writers are available null is returned.
getWriter in class AbstractGridFormatdestination - The destinatin where to write.GridCoverageWriter suitable for writing to the provided destination
with this format.public boolean accepts(Object source, Hints hints)
AbstractGridFormatFormat can read the provided input.accepts in class AbstractGridFormathints - Hints to control the accepts internal machinery.org.geotools.data.coverage.grid.AbstractGridFormat#accepts(Object input)public ImageMosaicJDBCReader getReader(Object source, Hints hints)
AbstractGridFormatGridCoverageReader for this format able to create coverages out of the
source object using the provided hints.
In case this Format cannot reader the provided source object
null is returned.
getReader in class AbstractGridFormatsource - The source object to parse. *hints - The Hints to use when trying to instantiate this reader.Format or null.AbstractGridFormat.getReader(Object, Hints)public GeoToolsWriteParams getDefaultImageIOWriteParameters()
getDefaultImageIOWriteParameters in class AbstractGridFormatpublic GridCoverageWriter getWriter(Object destination, Hints hints)
AbstractGridFormatgetWriter in class AbstractGridFormatdestination - the destination object to write a WorldImage tohints - Hints to control the internal machinery.Copyright © 1996–2019 Geotools. All rights reserved.