deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.io.geotiff
Class GeoTiffWriter

java.lang.Object
  extended by org.deegree.io.geotiff.GeoTiffWriter

public class GeoTiffWriter
extends java.lang.Object

This class is for writing GeoTIFF files from any java.awt.image. At that time, only writing the Bounding Box is available.

Since:
2.0
Version:
2.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Axel Schaefer , last edited by: $Author: mschneider $

Constructor Summary
GeoTiffWriter(java.awt.image.BufferedImage image, Envelope envelope, double resx, double resy, CoordinateSystem crs)
          creates an GeoTiffWriter instance from an java.awt.image.
GeoTiffWriter(java.awt.image.BufferedImage image, Envelope envelope, double resx, double resy, CoordinateSystem crs, double offset, double scaleFactor)
          creates an GeoTiffWriter instance from an java.awt.image.
 
Method Summary
 void write(java.io.OutputStream os)
          Writes the GeoTIFF as a BufferedImage to an OutputStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoTiffWriter

public GeoTiffWriter(java.awt.image.BufferedImage image,
                     Envelope envelope,
                     double resx,
                     double resy,
                     CoordinateSystem crs)
creates an GeoTiffWriter instance from an java.awt.image.

Parameters:
image - the image, to be transformed to a GeoTIFF.
envelope - the BoundingBox, the GeoTIFF should have
resx - The X-Resolution
resy - The Y-Resolution
crs -

GeoTiffWriter

public GeoTiffWriter(java.awt.image.BufferedImage image,
                     Envelope envelope,
                     double resx,
                     double resy,
                     CoordinateSystem crs,
                     double offset,
                     double scaleFactor)
creates an GeoTiffWriter instance from an java.awt.image.

Parameters:
image - the image, to be transformed to a GeoTIFF.
envelope - the BoundingBox, the GeoTIFF should have
resx - The X-Resolution
resy - The Y-Resolution
crs -
offset -
scaleFactor -
Method Detail

write

public void write(java.io.OutputStream os)
           throws java.io.IOException
Writes the GeoTIFF as a BufferedImage to an OutputStream. The OutputStream isn't closed after the method.

Parameters:
os - the output stream, which has to be written.
Throws:
java.io.IOException

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org