Package ucar.unidata.data.gis
Class GeotiffAdapter
java.lang.Object
ucar.unidata.data.gis.GeotiffAdapter
An adapter for GeoTIFF data files.
- Version:
- $Revision: 1.10 $
- Author:
- IDV development team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()Get the data for this source.Get the data for this source.Get the data for this source.booleanSee if this has a projectionbooleanSee if this is a GeoTIFF file or notPrint the keys for this GeoTIFFstatic voidTest routinestatic voidprint(String name, com.sun.media.jai.codec.TIFFField field, StringBuffer sb) Print a fieldvoidPrint the keys for this GeoTIFF
-
Constructor Details
-
GeotiffAdapter
Create a new GeoTiffAdapter- Parameters:
filename- filename or URL- Throws:
IOException- problem opening the file
-
-
Method Details
-
getData
Get the data for this source.- Returns:
- associated data
- Throws:
IOException- problem opening fileVisADException- VisAD problem
-
getDataAsRgb
Get the data for this source.- Returns:
- associated data
- Throws:
IOException- problem opening fileVisADException- VisAD problem
-
getDataAsGrid
Get the data for this source.- Returns:
- associated data
- Throws:
IOException- problem opening fileVisADException- VisAD problem
-
getIsGeotiff
public boolean getIsGeotiff()See if this is a GeoTIFF file or not- Returns:
- true if GeoTIFF
-
getHasProjection
See if this has a projection- Returns:
- true if data has a projection
- Throws:
IOException- problem opening fileVisADException- VisAD problem
-
print
Print a field- Parameters:
name- name of fieldfield- field to printsb- _more_
-
printKeys
public void printKeys()Print the keys for this GeoTIFF -
getKeyString
Print the keys for this GeoTIFF- Returns:
- _more_
-
main
Test routine- Parameters:
args- space separated filenames
-