| java.lang.Object org.geotools.coverage.grid.io.AbstractGridCoverageWriter org.geotools.gce.image.WorldImageWriter
WorldImageWriter | final public class WorldImageWriter extends AbstractGridCoverageWriter implements GridCoverageWriter(Code) | | Writes a GridCoverage to a raster image file and an accompanying world file.
The destination specified must point to the location of the raster file to
write to, as this is how the format is determined. The directory that file is
located in must also already exist.
author: Simone Giannecchini author: rgould author: alessio fabiani |
Method Summary | |
public Format | getFormat() | public void | write(GridCoverage coverage, GeneralParameterValue[] parameters) Takes a GridCoverage and writes the image to the destination file. |
WorldImageWriter | public WorldImageWriter(Object destination)(Code) | | Destination must be a File. The directory it resides in must already
exist. It must point to where the raster image is to be located. The
world image will be derived from there.
Parameters: destination - |
WorldImageWriter | public WorldImageWriter(Object destination, Hints hints)(Code) | | Destination must be a File. The directory it resides in must already
exist. It must point to where the raster image is to be located. The
world image will be derived from there.
Parameters: destination - |
getFormat | public Format getFormat()(Code) | | (non-Javadoc)
See Also: org.opengis.coverage.grid.GridCoverageWriter.getFormat |
write | public void write(GridCoverage coverage, GeneralParameterValue[] parameters) throws IllegalArgumentException, IOException(Code) | | Takes a GridCoverage and writes the image to the destination file. It
then reads the format of the file and writes an accompanying world file.
It will throw a FileFormatNotCompatibleWithGridCoverageException if
Destination is not a File (URL is a read-only format!).
Parameters: coverage - the GridCoverage to write. Parameters: parameters - no parameters are accepted. Currently ignored. throws: IllegalArgumentException - DOCUMENT ME! throws: IOException - DOCUMENT ME! See Also: org.opengis.coverage.grid.GridCoverageWriter.write(org.geotools.gc.GridCoverageorg.opengis.parameter.GeneralParameterValue[]) |
|
|