geotiff.js
    Preparing search index...

    Class MultiGeoTIFF

    Wrapper for GeoTIFF files that have external overviews.

    Hierarchy

    • GeoTIFFBase
      • MultiGeoTIFF

    Constructors

    Properties

    fileDirectoriesPerFile: ImageFileDirectory[] | null
    fileDirectoriesPerFileParsing: any
    imageCount: number | null
    imageCounts: number[] | undefined
    imageFiles: GeoTIFF[]
    mainFile: GeoTIFF
    overviewFiles: GeoTIFF[]

    Methods

    • Get the n-th internal subfile of an image. By default, the first is returned.

      Parameters

      • Optionalindex: number = 0

        the index of the image to return.

      Returns Promise<GeoTIFFImage>

      the image at the given index

    • Returns the count of the internal subfiles.

      Returns Promise<number>

      the number of internal subfile images

    • (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]GeoTIFFImage#readRasters method of the selected image is called and the result returned.

      Parameters

      Returns Promise<ReadRasterResult>

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

      GeoTIFFImage.readRasters