|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.coverage.grid.io.AbstractGridFormat
org.geotools.gce.imagemosaic.ImageMosaicFormat
public final class ImageMosaicFormat
AbstractGridFormat
subclass for controlling ImageMosaicReader
creation. As the
name says, it handles mosaic of georeferenced images, which means
Field Summary | |
---|---|
static org.opengis.parameter.ParameterDescriptor<java.lang.Boolean> |
ALLOW_MULTITHREADING
Control the threading behavior for this plugin. |
static org.opengis.parameter.ParameterDescriptor<double[]> |
BACKGROUND_VALUES
Control the background values for the output coverage |
static org.opengis.parameter.ParameterDescriptor<java.lang.Boolean> |
FADING
Control the type of the final mosaic. |
static org.opengis.parameter.ParameterDescriptor<java.lang.Boolean> |
HANDLE_FOOTPRINT
Control the footprint management. |
static org.opengis.parameter.ParameterDescriptor<java.lang.Double> |
INPUT_IMAGE_THRESHOLD_VALUE
Deprecated. we don't use this param anymore, since it is confusing and interact badly with the transparency |
static org.opengis.parameter.ParameterDescriptor<java.awt.Color> |
INPUT_TRANSPARENT_COLOR
Control the transparency of the input coverages. |
static org.opengis.parameter.ParameterDescriptor<java.lang.Integer> |
MAX_ALLOWED_TILES
Control the thresholding on the input coverage |
static org.opengis.parameter.ParameterDescriptor<java.awt.Color> |
OUTPUT_TRANSPARENT_COLOR
Control the transparency of the output coverage. |
static DefaultParameterDescriptor<java.lang.String> |
SUGGESTED_TILE_SIZE
This GeneralParameterValue can be provided to the
GridCoverageReader s through the
GridCoverageReader.read(GeneralParameterValue[]) method in order
to specify the suggested size of tiles to avoid long time reading
occurring with JAI ImageRead on striped images. |
static java.lang.String |
TILE_SIZE_SEPARATOR
|
Fields inherited from class org.geotools.coverage.grid.io.AbstractGridFormat |
---|
GEOTOOLS_WRITE_PARAMS, mInfo, OVERVIEW_POLICY, READ_GRIDGEOMETRY2D, readParameters, USE_JAI_IMAGEREAD, writeParameters |
Constructor Summary | |
---|---|
ImageMosaicFormat()
Creates an instance and sets the metadata. |
Method Summary | |
---|---|
boolean |
accepts(java.lang.Object source)
Tells me if this Format can read the provided input . |
GeoToolsWriteParams |
getDefaultImageIOWriteParameters()
Throw an exception since this plugin is readonly. |
ImageMosaicReader |
getReader(java.lang.Object source)
Gets a GridCoverageReader for this format able to create
coverages out of the source object. |
ImageMosaicReader |
getReader(java.lang.Object source,
Hints hints)
Gets a GridCoverageReader for this format able to create
coverages out of the source object using the provided
hints . |
org.opengis.coverage.grid.GridCoverageWriter |
getWriter(java.lang.Object destination)
Retrieves a GridCoverageWriter suitable for writing to the
provided destination with this format. |
Methods inherited from class org.geotools.coverage.grid.io.AbstractGridFormat |
---|
equals, getDefaultCRS, getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opengis.coverage.grid.Format |
---|
getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters |
Field Detail |
---|
public static final DefaultParameterDescriptor<java.lang.String> SUGGESTED_TILE_SIZE
GeneralParameterValue
can be provided to the
GridCoverageReader
s through the
GridCoverageReader.read(GeneralParameterValue[])
method in order
to specify the suggested size of tiles to avoid long time reading
occurring with JAI ImageRead on striped images. (Images with tiles Nx1)
Value should be a String in the form of "W,H" (without quotes) where W is
a number representing the suggested tileWidth and H is a number
representing the suggested tileHeight.
public static final java.lang.String TILE_SIZE_SEPARATOR
public static final org.opengis.parameter.ParameterDescriptor<java.lang.Boolean> FADING
public static final org.opengis.parameter.ParameterDescriptor<java.awt.Color> INPUT_TRANSPARENT_COLOR
public static final org.opengis.parameter.ParameterDescriptor<java.awt.Color> OUTPUT_TRANSPARENT_COLOR
public static final org.opengis.parameter.ParameterDescriptor<java.lang.Double> INPUT_IMAGE_THRESHOLD_VALUE
public static final org.opengis.parameter.ParameterDescriptor<java.lang.Integer> MAX_ALLOWED_TILES
public static final org.opengis.parameter.ParameterDescriptor<java.lang.Boolean> ALLOW_MULTITHREADING
public static final org.opengis.parameter.ParameterDescriptor<java.lang.Boolean> HANDLE_FOOTPRINT
public static final org.opengis.parameter.ParameterDescriptor<double[]> BACKGROUND_VALUES
Constructor Detail |
---|
public ImageMosaicFormat()
Method Detail |
---|
public ImageMosaicReader getReader(java.lang.Object source)
AbstractGridFormat
GridCoverageReader
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 AbstractGridFormat
source
- The source object to parse.
Format
or null.org.geotools.data.coverage.grid.AbstractGridFormat#getReader(Object)
public org.opengis.coverage.grid.GridCoverageWriter getWriter(java.lang.Object destination)
AbstractGridFormat
GridCoverageWriter
suitable for writing to the
provided destination
with this format.
In case no writers are availaible null
is returned.
getWriter
in class AbstractGridFormat
destination
- The destinatin where to write.
GridCoverageWriter
suitable for writing to the provided
destination
with this format.public boolean accepts(java.lang.Object source)
AbstractGridFormat
Format
can read the provided input
.
accepts
in class AbstractGridFormat
source
- The input object to test for suitablilty.
org.geotools.data.coverage.grid.AbstractGridFormat#accepts(Object input)
public ImageMosaicReader getReader(java.lang.Object source, Hints hints)
AbstractGridFormat
GridCoverageReader
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 AbstractGridFormat
source
- 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 AbstractGridFormat
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |