|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractGridFormat
GeoTiffFormat
public class GeoTiffFormat
Provides basic information about the GeoTIFF format IO. This is currently an extension of the Geotools AbstractGridFormat because the stream and file GCEs will pick it up if it extends AbstractGridFormat.
Field Summary | |
---|---|
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_TFW
This GeneralParameterValue can be provided to the
GeoTiffWriter s in order
to force the writer to write a tfw file. |
Constructor Summary | |
---|---|
GeoTiffFormat()
Creates a new instance of GeoTiffFormat |
Method Summary | |
---|---|
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)
Retrieves a GeoTiffWriter or null if the provided
destination is suitable. |
GridCoverageWriter |
getWriter(Object destination,
Hints hints)
Retrieves a GeoTiffWriter or null if the provided
destination is suitable. |
Methods inherited from class AbstractGridFormat |
---|
accepts, 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<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> RETAIN_AXES_ORDER
GeneralParameterValue
can be provided to the
GeoTiffWriter
s in order
to force the writer to retain the axes order.
Constructor Detail |
---|
public GeoTiffFormat()
Method Detail |
---|
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 File
public 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 File
public GeoToolsWriteParams getDefaultImageIOWriteParameters()
GeoTiffWriteParams
for controlling an
hypothetic writing process.
getDefaultImageIOWriteParameters
in class AbstractGridFormat
GeoTiffWriteParams
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |