Class: GeoTIFFBase

geotiff~GeoTIFFBase()

new GeoTIFFBase()

Source:

Methods

(async) readRasters(optionsopt) → {Promise.<module:geotiff~ReadRasterResult>}

(experimental) Reads raster data from the best fitting image. This function uses the image with the lowest resolution that is still a higher resolution than the requested resolution. When specified, the bbox option is translated to the window option and the resX and resY to width and height respectively. Then, the readRasters method of the selected image is called and the result returned.

Parameters:
Name Type Attributes Default Description
options module:geotiffimage~ReadRasterOptions <optional>
{}

optional parameters

Source:
See:
  • GeoTIFFImage.readRasters
Returns:

the decoded array(s), with height and width, as a promise

Type
Promise.<module:geotiff~ReadRasterResult>