Class: GeoTIFF

GeoTIFF

new GeoTIFF(rawData, optionsopt)

The abstraction for a whole GeoTIFF file.
Parameters:
Name Type Attributes Description
rawData ArrayBuffer the raw data stream of the file as an ArrayBuffer.
options Object <optional>
further options.
Properties
Name Type Attributes Default Description
cache Boolean <optional>
false whether or not decoded tiles shall be cached.
Source:

Methods

getImage(indexopt) → {GeoTIFFImage}

Get the n-th internal subfile a an image. By default, the first is returned.
Parameters:
Name Type Attributes Default Description
index Number <optional>
0 the index of the image to return.
Source:
Returns:
the image at the given index
Type
GeoTIFFImage

getImageCount() → {Number}

Returns the count of the internal subfiles.
Source:
Returns:
the number of internal subfile images
Type
Number