org.geotools.gce.geotiff
Class GeoTiffWriter
Object
AbstractGridCoverageWriter
GeoTiffWriter
- All Implemented Interfaces:
- GridCoverageWriter
public final class GeoTiffWriter
- extends AbstractGridCoverageWriter
- implements GridCoverageWriter
- Author:
- Simone Giannecchini
- Module:
Methods inherited from interface GridCoverageWriter |
dispose, getDestination, getMetadataNames, setCurrentSubname, setMetadataValue |
GeoTiffWriter
public GeoTiffWriter(Object destination)
throws IOException
- Constructor for a
GeoTiffWriter
.
- Parameters:
destination
-
- Throws:
IOException
GeoTiffWriter
public GeoTiffWriter(Object destination,
Hints hints)
throws IOException
- Constructor for a
GeoTiffWriter
.
- Parameters:
destination
- hints
-
- Throws:
IOException
getFormat
public Format getFormat()
- Specified by:
getFormat
in interface GridCoverageWriter
write
public void write(GridCoverage gc,
GeneralParameterValue[] params)
throws IllegalArgumentException,
IOException,
IndexOutOfBoundsException
- Specified by:
write
in interface GridCoverageWriter
- Throws:
IllegalArgumentException
IOException
IndexOutOfBoundsException
createGeoTiffIIOMetadata
public static final IIOMetadata createGeoTiffIIOMetadata(ImageWriter writer,
ImageTypeSpecifier type,
GeoTiffIIOMetadataEncoder geoTIFFMetadata,
ImageWriteParam params)
throws IIOException
- Creates image metadata which complies to the GeoTIFFWritingUtilities
specification for the given image writer, image type and
GeoTIFFWritingUtilities metadata.
- Parameters:
writer
- the image writer, must not be nulltype
- the image type, must not be nullgeoTIFFMetadata
- the GeoTIFFWritingUtilities metadata, must not be nullparams
-
- Returns:
- the image metadata, never null
- Throws:
IIOException
- if the metadata cannot be created
Copyright © 1996-2009 Geotools. All Rights Reserved.