public class GeoTiffData extends Object
Modifier and Type | Field and Description |
---|---|
static int |
GeoCitationGeoKey
Key code for the GeoCitationGeoKey specification
|
static int |
GeoDoubleParamsTag
The code for a TIFF tag containing floating point parameters
(doubles) for the GeoTIFF specification
|
static int |
GeoKeyDirectoryTag
The code for a TIFF tag containing integer specifications
for GeoTIFF tags.
|
static int |
GtModelTypeGeoKey
Key code for the GtModelTypeGeoKey specification
|
static int |
LinearUnitCodeFeet
Linear Unit Code for feet, from GeoTiff spec 6.3.1.3
|
static int |
LinearUnitCodeFeetUS
Linear Unit Code for feet, from GeoTiff spec 6.3.1.3
|
static int |
LinearUnitCodeMeter
Linear Unit Code for feet, from GeoTiff spec 6.3.1.3
|
static int |
PCSCitationGeoKey
Key code for the PCSCitationGeoKey specification
|
static int |
ProjLinearUnitsGeoKey
Key code for the ProjLinearUnitsGeoKey specification
|
static int |
VerticalUnitsGeoKey
Key code for the VerticalLinearUnitsGeoKey specification
|
Constructor and Description |
---|
GeoTiffData(List<GeoTiffKey> keyList,
double[] fpData,
char[] asciiData) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(int keyCode)
Indicates whether the GeoTiffData collection contains an entry
for the specified key code.
|
double[] |
getDouble(int keyCode)
Gets an array of one or more doubles containing the value or values
associated with the specified key code.
|
int |
getInteger(int keyCode)
Gets the single integer value associated with the GeoTIFF keycode.
|
List<GeoTiffKey> |
getKeyList()
Gets a list of the keys defined by this GeoTiffData collection
|
String |
getString(int keyCode)
Gets the single String value associated with the GeoTIFF keycode.
|
boolean |
usesGeographicCoordinates()
Indicates whether the GeoTIFF data specifies a geographic coordinate
system
|
boolean |
usesProjectedCoordinates()
Indicates whether the GeoTIFF data specifies a projected coordinate
system
|
public static final int GeoKeyDirectoryTag
public static final int GeoDoubleParamsTag
public static final int GtModelTypeGeoKey
public static final int GeoCitationGeoKey
public static final int PCSCitationGeoKey
public static final int ProjLinearUnitsGeoKey
public static final int VerticalUnitsGeoKey
public static final int LinearUnitCodeMeter
public static final int LinearUnitCodeFeet
public static final int LinearUnitCodeFeetUS
public GeoTiffData(List<GeoTiffKey> keyList, double[] fpData, char[] asciiData)
public boolean containsKey(int keyCode)
keyCode
- an integer key codepublic int getInteger(int keyCode) throws IOException
keyCode
- a valid GeoTIFF keyIOException
- in the event of a TIFF format exception
or the key code is not found.public double[] getDouble(int keyCode) throws IOException
keyCode
- a valid GeoTIFF keyIOException
- in the event of a TIFF format exceptionpublic String getString(int keyCode) throws IOException
keyCode
- a valid GeoTIFF keyIOException
- in the event of a TIFF format exceptionpublic List<GeoTiffKey> getKeyList()
public boolean usesGeographicCoordinates()
public boolean usesProjectedCoordinates()
Copyright © 2021. All rights reserved.