|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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) java.util.HashMap<java.lang.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(java.io.File file)
|
Method Summary | |
---|---|
Envelope |
getBoundingBox()
|
void |
getCoordinateSystem()
|
java.lang.String[] |
getGeoAsciiParamsTag()
GeoAsciiParamsTag: Tag = 34737 (87B1.H) Type = ASCII Owner: SPOT Image, Inc. |
java.lang.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. |
java.lang.String |
getHumanReadableCoordinateSystem()
|
java.lang.String |
getKeyRevision()
|
int |
getNumberOfKeysInGeoKeyDirectoryTag()
|
org.apache.batik.ext.awt.image.codec.tiff.TIFFImage |
getTIFFImage()
|
java.lang.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
java.util.HashMap<java.lang.Integer,int[]> geoKeyDirectoryTag
boolean hasGeoKeyDirectoryTag
Constructor Detail |
---|
public GeoTiffReader(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException, GeoTiffException
file
-
java.io.FileNotFoundException
java.io.IOException
GeoTiffException
Method Detail |
---|
public java.lang.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 java.lang.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 java.lang.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
GeoTiffException
public java.lang.String getHumanReadableCoordinateSystem()
public org.apache.batik.ext.awt.image.codec.tiff.TIFFImage getTIFFImage() throws GeoTiffException
GeoTiffException
public java.lang.String toString()
toString
in class java.lang.Object
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
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