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

org.deegree.tools.raster
Class SimpleText2Tiff

java.lang.Object
  extended by org.deegree.tools.raster.SimpleText2Tiff

public class SimpleText2Tiff
extends java.lang.Object

This class ist similar to Text2Tiff. The major difference is that SimpleText2Tiff just is able to transform x y z formateted textfiles into 16BIT tiff images if the text files contains equal distance rasters. Missing raster cells will be filled with '0'.
The major advantage of SimpleText2Tiff is its speed. It is significantly faster than Text2Tiff because several checks and calculations can be skippted.

Version:
$Revision: 6251 $, $Date: 2007-03-19 16:59:28 +0100 (Mo, 19 Mrz 2007) $
Author:
Andreas Poth, last edited by: $Author: poth $

Constructor Summary
SimpleText2Tiff(java.io.File[] files, double resolution, float offset, float scaleFactor, boolean use32Bit)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void perform()
          starts transformation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleText2Tiff

public SimpleText2Tiff(java.io.File[] files,
                       double resolution,
                       float offset,
                       float scaleFactor,
                       boolean use32Bit)
Parameters:
files - list of text files to tranform
resolution - desired target resolution
offset - desired z-value offset
scaleFactor - desired z-value scale factor [value = (z + offset) * scaleFactor]
use32Bit -
Method Detail

perform

public void perform()
             throws java.lang.Exception
starts transformation

Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Parameters:
args -
Throws:
java.lang.Exception - if something went wrong.

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