public class GeoTiffFormat extends AbstractGridFormat implements Format
Modifier and Type | Field and Description |
---|---|
static DefaultParameterDescriptor<Boolean> |
RETAIN_AXES_ORDER
This
GeneralParameterValue can be provided to the GeoTiffWriter s in order to
force the writer to retain the axes order. |
static DefaultParameterDescriptor<Boolean> |
WRITE_NODATA
This
GeneralParameterValue can be provided to the GeoTiffWriter s to specify
whether NoData should be written when available. |
static DefaultParameterDescriptor<Boolean> |
WRITE_TFW
This
GeneralParameterValue can be provided to the GeoTiffWriter s in order to
force the writer to write a tfw file. |
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 |
---|
GeoTiffFormat()
Creates a new instance of GeoTiffFormat
|
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Object o,
Hints hints)
Currently, we only accept files, and we open the file to verify that it has a GeoKeyDirectory
tag.
|
GeoToolsWriteParams |
getDefaultImageIOWriteParameters()
Returns an instance of
GeoTiffWriteParams for controlling an hypothetic writing
process. |
GeoTiffReader |
getReader(Object source)
If
source is a file, this will return a reader object. |
GeoTiffReader |
getReader(Object source,
Hints hints)
If
source is a file, this will return a reader object. |
GridCoverageWriter |
getWriter(Object destination)
|
GridCoverageWriter |
getWriter(Object destination,
Hints hints)
|
accepts, equals, getDefaultCRS, getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters
public static final DefaultParameterDescriptor<Boolean> WRITE_TFW
GeneralParameterValue
can be provided to the GeoTiffWriter
s in order to
force the writer to write a tfw file.public static final DefaultParameterDescriptor<Boolean> WRITE_NODATA
GeneralParameterValue
can be provided to the GeoTiffWriter
s to specify
whether NoData should be written when available. Default or missing parameter means true.public static final DefaultParameterDescriptor<Boolean> RETAIN_AXES_ORDER
GeneralParameterValue
can be provided to the GeoTiffWriter
s in order to
force the writer to retain the axes order.public boolean accepts(Object o, Hints hints)
accepts
in class AbstractGridFormat
o
- the source object to test for compatibility with this format.hints
- Hints
to control the accepts internal machinery.public GeoTiffReader getReader(Object source)
source
is a file, this will return a reader object. This file does not use
hints in the construction of the geotiff reader.getReader
in class AbstractGridFormat
source
- must be a GeoTiff Filepublic GeoTiffReader getReader(Object source, Hints hints)
source
is a file, this will return a reader object. This file does not use
hints in the construction of the geotiff reader.getReader
in class AbstractGridFormat
source
- must be a GeoTiff Filehints
- Hints to pass the hypothetic GridCoverageReader
to control its
behaviour.public GridCoverageWriter getWriter(Object destination, Hints hints)
GeoTiffWriter
or null
if the provided destination
is suitable.
This file does not use hints in the construction of the geotiff reader.
getWriter
in class AbstractGridFormat
destination
- must be a GeoTiff Filehints
- Hints to pass the hypothetic GridCoverageReader
to control its
behaviour.public GridCoverageWriter getWriter(Object destination)
GeoTiffWriter
or null
if the provided destination
is suitable.
This file does not use hints in the construction of the geotiff reader.
getWriter
in class AbstractGridFormat
destination
- must be a GeoTiff Filepublic GeoToolsWriteParams getDefaultImageIOWriteParameters()
GeoTiffWriteParams
for controlling an hypothetic writing
process.getDefaultImageIOWriteParameters
in class AbstractGridFormat
GeoTiffWriteParams
.Copyright © 1996–2019 Geotools. All rights reserved.