org.geotools.gce.gtopo30
Class GTopo30Writer
Object
AbstractGridCoverageWriter
GTopo30Writer
- All Implemented Interfaces:
- GridCoverageWriter
public final class GTopo30Writer
- extends AbstractGridCoverageWriter
- implements GridCoverageWriter
Class used for encoding a GridCoverage2D into a GTOPO30 file.
- Author:
- Simone Giannecchini, jeichar, mkraemer
GTopo30Writer
public GTopo30Writer(Object dest)
throws DataSourceException
- Creates a
GTopo30Writer.
- Parameters:
dest - The destination object can be a File (a directory
actually), an URL to a directory, or a String
representing a directory or an URL to a directory.
- Throws:
DataSourceException
GTopo30Writer
public GTopo30Writer(Object dest,
Hints hints)
throws DataSourceException
- Creates a
GTopo30Writer.
- Parameters:
dest - The destination object can be a File (a directory actually),
an URL to a directory, or a String representing a directory or
an URL to a directory.
- Throws:
DataSourceException
getFormat
public Format getFormat()
- Description copied from interface:
GridCoverageWriter
- Returns the format handled by this
GridCoverageWriter.
- Specified by:
getFormat in interface GridCoverageWriter
- See Also:
GridCoverageWriter.getFormat()
write
public void write(GridCoverage coverage,
GeneralParameterValue[] params)
throws IllegalArgumentException,
IOException
- Description copied from interface:
GridCoverageWriter
- Writes the specified grid coverage.
- Specified by:
write in interface GridCoverageWriter
- Parameters:
coverage - The grid coverage to write.params - An optional set of parameters. Should be any or all of the
parameters returned by Format.getWriteParameters().
- Throws:
InvalidParameterNameException - if a parameter in parameters
doesn't have a recognized name.
InvalidParameterValueException - if a parameter in parameters
doesn't have a valid value.
ParameterNotFoundException - if a parameter was required for the operation but was
not provided in the parameters list.
IOException - if the export failed for some other input/output reason, including
IIOException if an error was thrown by the underlying
image library.
IllegalArgumentException- See Also:
GridCoverageWriter.write(org.opengis.coverage.grid.GridCoverage,
org.opengis.parameter.GeneralParameterValue[])
Copyright © 1996-2013 Geotools. All Rights Reserved.