ucar.nc2.geotiff
Class GeoTiff

java.lang.Object
  extended by ucar.nc2.geotiff.GeoTiff

public class GeoTiff
extends Object

Low level read/write geotiff files.

Author:
John Caron, Yuan Ho
See Also:
GeotiffWriter

Constructor Summary
GeoTiff(String filename)
          Constructor.
 
Method Summary
 void close()
          Close the Geotiff file.
 void initTags()
           
static void main(String[] argv)
          test
 void read()
          Read the geotiff file, using the filename passed in the constructor.
 String showInfo()
          Write the geotiff Tag information to a String.
 void showInfo(PrintStream out)
          Write the geotiff Tag information to out.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoTiff

public GeoTiff(String filename)
Constructor. Does not open or create the file.

Parameters:
filename - pathname of file
Method Detail

close

public void close()
           throws IOException
Close the Geotiff file.

Throws:
IOException - on io error

initTags

public void initTags()
              throws IOException
Throws:
IOException

read

public void read()
          throws IOException
Read the geotiff file, using the filename passed in the constructor.

Throws:
IOException - on read error

showInfo

public void showInfo(PrintStream out)
Write the geotiff Tag information to out.


showInfo

public String showInfo()
Write the geotiff Tag information to a String.


main

public static void main(String[] argv)
test



Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.