Class: GeoTiffKeyEntry

GeoTiffKeyEntry(keyId, tiffTagLocation, count, valueOffset)

Contains the data associated with a GeoTIFF KeyEntry. Each KeyEntry is modeled on the "TiffIFDEntry" format of the TIFF directory header.

Constructor

new GeoTiffKeyEntry(keyId, tiffTagLocation, count, valueOffset)

Constructs a geotiff KeyEntry. Applications typically do not call this constructor. It is called by GeoTiffReader as GeoTIFF geo keys are read.
Parameters:
Name Type Description
keyId Number Gives the key-ID value of the Key (identical in function to TIFF tag ID, but completely independent of TIFF tag-space).
tiffTagLocation Number Indicates which TIFF tag contains the value(s) of the Key.
count Number Indicates the number of values in this key.
valueOffset Number Indicates the index offset into the TagArray indicated by tiffTagLocation.
Source:
Throws:
If either the specified keyId, tiffTagLocation, count or valueOffset are null or undefined.
Type
ArgumentError

Members

(readonly) count :Number

The number of values in the key as specified to this GeoTiffKeyEntry's constructor.
Type:
  • Number
Source:

(readonly) keyId :Number

The key-ID value of the Key as specified to this GeoTiffKeyEntry's constructor.
Type:
  • Number
Source:

(readonly) tiffTagLocation :Number

The location of the TIFF tag as specified to this GeoTiffKeyEntry's constructor.
Type:
  • Number
Source:

(readonly) valueOffset :Number

The index offset into the TagArray as specified to this GeoTiffKeyEntry's constructor.
Type:
  • Number
Source:

Methods

getGeoKeyValue() → {Number}

Get the value of a GeoKey.
Source:
Returns:
Type
Number