| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.geotiff.GeoTiffReader
public class GeoTiffReader
 
 TIFF type :: Java type
 TIFF_BYTE :: byte
 TIFF_ASCII :: String
 TIFF_SHORT :: char
 TIFF_LONG :: long
 TIFF_RATIONAL :: long[2]
 TIFF_SBYTE :: byte
 TIFF_UNDEFINED :: byte
 TIFF_SSHORT :: short
 TIFF_SLONG :: int
 TIFF_SRATIONAL :: int[2]
 TIFF_FLOAT :: float
 TIFF_DOUBLE :: double
 
 
| Field Summary | |
|---|---|
(package private)  HashMap<Integer,int[]> | 
geoKeyDirectoryTag
 | 
(package private)  boolean | 
hasGeoKeyDirectoryTag
 | 
(package private)  org.apache.batik.ext.awt.image.codec.tiff.TIFFImage | 
image
 | 
(package private)  org.apache.batik.ext.awt.image.codec.tiff.TIFFDirectory | 
tifdir
 | 
| Constructor Summary | |
|---|---|
GeoTiffReader(File file)
 | 
|
| Method Summary | |
|---|---|
 Envelope | 
getBoundingBox()
 | 
 void | 
getCoordinateSystem()
 | 
 String[] | 
getGeoAsciiParamsTag()
GeoAsciiParamsTag: Tag = 34737 (87B1.H) Type = ASCII Owner: SPOT Image, Inc.  | 
 Object | 
getGeoDoubleParamsTag()
GeoDoubleParamsTag: Tag = 34736 (87BO.H) Type = DOUBLE (IEEE Double precision) N = variable Owner: SPOT Image, Inc.  | 
 int | 
getGeoKeyDirectoryVersion()
 | 
 int | 
getGTModelTypeGeoKey()
Key ID = 1024 Type: SHORT (code) This GeoKey defines the general type of model Coordinate system used, and to which the raster space will be transformed:unknown, Geocentric (rarely used), Geographic, Projected Coordinate System, or user-defined.  | 
 String | 
getHumanReadableCoordinateSystem()
 | 
 String | 
getKeyRevision()
 | 
 int | 
getNumberOfKeysInGeoKeyDirectoryTag()
 | 
 org.apache.batik.ext.awt.image.codec.tiff.TIFFImage | 
getTIFFImage()
 | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
org.apache.batik.ext.awt.image.codec.tiff.TIFFImage image
org.apache.batik.ext.awt.image.codec.tiff.TIFFDirectory tifdir
HashMap<Integer,int[]> geoKeyDirectoryTag
boolean hasGeoKeyDirectoryTag
| Constructor Detail | 
|---|
public GeoTiffReader(File file)
              throws FileNotFoundException,
                     IOException,
                     GeoTiffException
file - 
FileNotFoundException
IOException
GeoTiffException| Method Detail | 
|---|
public Object getGeoDoubleParamsTag()
 GeoDoubleParamsTag: 
 Tag = 34736 (87BO.H) 
 Type = DOUBLE (IEEE Double precision) 
 N = variable 
 Owner: SPOT Image, Inc.
 
This tag is used to store all of the DOUBLE valued GeoKeys, referenced by the GeoKeyDirectoryTag. The meaning of any value of this double array is determined from the GeoKeyDirectoryTag reference pointing to it. FLOAT values should first be converted to DOUBLE and stored here.
public String[] getGeoAsciiParamsTag()
 GeoAsciiParamsTag: 
 Tag = 34737 (87B1.H) 
 Type = ASCII 
 Owner: SPOT Image, Inc. 
 N = variable
 
This tag is used to store all of the DOUBLE valued GeoKeys, referenced by the GeoKeyDirectoryTag. The meaning of any value of this double array is determined from the GeoKeyDirectoryTag reference pointing to it. FLOAT values should first be converted to DOUBLE and stored here.
A baseline GeoTIFF-reader must check for and convert the final "|" pipe character of a key back into a NULL before returning it to the client software.
public int getGeoKeyDirectoryVersion()
                              throws GeoTiffException
GeoTiffException
public String getKeyRevision()
                      throws GeoTiffException
GeoTiffException
public int getNumberOfKeysInGeoKeyDirectoryTag()
                                        throws GeoTiffException
GeoTiffException
public int getGTModelTypeGeoKey()
                         throws GeoTiffException
 Key ID = 1024 
 Type: SHORT (code) 
 
This GeoKey defines the general type of model Coordinate system used, and to which the raster space will be transformed:unknown, Geocentric (rarely used), Geographic, Projected Coordinate System, or user-defined. If the coordinate system is a PCS, then only the PCS code need be specified. If the coordinate system does not fit into one of the standard registered PCS'S, but it uses one of the standard projections and datums, then its should be documented as a PCS model with "user-defined" type, requiring the specification of projection parameters, etc.
GeoKey requirements for User-Defined Model Type (not advisable): GTCitationGeoKey
GeoTiffException
public void getCoordinateSystem()
                         throws GeoTiffException
GeoTiffException
public Envelope getBoundingBox()
                        throws GeoTiffException
GeoTiffExceptionpublic String getHumanReadableCoordinateSystem()
public org.apache.batik.ext.awt.image.codec.tiff.TIFFImage getTIFFImage()
                                                                 throws GeoTiffException
GeoTiffExceptionpublic String toString()
toString in class Object
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org