|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractGridFormat
ImagePyramidFormat
public final class ImagePyramidFormat
This class implements the basic format capabilities for a coverage format.
Field Summary | |
---|---|
static ParameterDescriptor<Boolean> |
ALLOW_MULTITHREADING
Control the threading behavior for this plugin. |
static ParameterDescriptor<double[]> |
BACKGROUND_VALUES
Control the background values for the output coverage |
static ParameterDescriptor<Boolean> |
FADING
Control the type of the final mosaic. |
static ParameterDescriptor<Double> |
INPUT_IMAGE_THRESHOLD_VALUE
Deprecated. we don't use this param anymore, since it is confusing and interact badly with the transparency |
static ParameterDescriptor<Color> |
INPUT_TRANSPARENT_COLOR
Control the transparency of the input coverages. |
static ParameterDescriptor<Integer> |
MAX_ALLOWED_TILES
Control the thresholding on the input coverage |
static ParameterDescriptor<Color> |
OUTPUT_TRANSPARENT_COLOR
Control the transparency of the output coverage. |
static DefaultParameterDescriptor<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 String |
TILE_SIZE_SEPARATOR
|
Fields inherited from class AbstractGridFormat |
---|
GEOTOOLS_WRITE_PARAMS, mInfo, OVERVIEW_POLICY, READ_GRIDGEOMETRY2D, readParameters, USE_JAI_IMAGEREAD, writeParameters |
Constructor Summary | |
---|---|
ImagePyramidFormat()
Creates an instance and sets the metadata. |
Method Summary | |
---|---|
boolean |
accepts(Object source)
Tells me if this Format can read the provided input . |
GeoToolsWriteParams |
getDefaultImageIOWriteParameters()
Throw an exception since this plugin is readonly. |
ImagePyramidReader |
getReader(Object source)
Retrieves a reader for this source object in case the provided source can be read using this plugin. |
ImagePyramidReader |
getReader(Object source,
Hints hints)
Retrieves a reader for this source object in case the provided source can be read using this plugin. |
GridCoverageWriter |
getWriter(Object destination)
This methods throw an UnsupportedOperationException because this
plugiin si read only. |
Methods inherited from class AbstractGridFormat |
---|
equals, getDefaultCRS, getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface Format |
---|
getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters |
Field Detail |
---|
public static final DefaultParameterDescriptor<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 String TILE_SIZE_SEPARATOR
public static final ParameterDescriptor<Boolean> FADING
public static final ParameterDescriptor<Color> INPUT_TRANSPARENT_COLOR
public static final ParameterDescriptor<Color> OUTPUT_TRANSPARENT_COLOR
public static final ParameterDescriptor<Double> INPUT_IMAGE_THRESHOLD_VALUE
public static final ParameterDescriptor<Integer> MAX_ALLOWED_TILES
public static final ParameterDescriptor<Boolean> ALLOW_MULTITHREADING
public static final ParameterDescriptor<double[]> BACKGROUND_VALUES
Constructor Detail |
---|
public ImagePyramidFormat()
Method Detail |
---|
public ImagePyramidReader getReader(Object source)
getReader
in class AbstractGridFormat
source
- Object
ImagePyramidReader
if the provided object can be read
using this plugin or null.public GridCoverageWriter getWriter(Object destination)
UnsupportedOperationException
because this
plugiin si read only.
getWriter
in class AbstractGridFormat
destination
- The destinatin where to write.
GridCoverageWriter
suitable for writing to the provided
destination
with this format.public boolean accepts(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 ImagePyramidReader getReader(Object source, Hints hints)
getReader
in class AbstractGridFormat
source
- Objecthints
- Hints
to control the reader behaviour.
ImagePyramidReader
if the provided object can be read
using this plugin or null.public GeoToolsWriteParams getDefaultImageIOWriteParameters()
getDefaultImageIOWriteParameters
in class AbstractGridFormat
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |