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.boolean
See if this has a projectionboolean
See if this is a GeoTIFF file or notPrint the keys for this GeoTIFFstatic void
Test routinestatic void
print
(String name, com.sun.media.jai.codec.TIFFField field, StringBuffer sb) Print a fieldvoid
Print 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
-