UNPKG

@giro3d/giro3d

Version:

A JS/WebGL framework for 3D geospatial data visualization

32 lines 959 B
import type { DecodeOptions, DecodeResult } from './ImageFormat'; import ImageFormat from './ImageFormat'; /** * Decoder for TIFF images. * */ declare class GeoTIFFFormat extends ImageFormat { readonly isGeoTIFFFormat: boolean; readonly type = "GeoTIFFFormat"; private readonly _enableWorkers; /** * @param options - Decoder options. */ constructor(options?: { /** * Enables processing raster data in web workers. * @defaultValue true */ enableWorkers?: boolean; }); /** * Decode a tiff blob into a * [DataTexture](https://threejs.org/docs/?q=texture#api/en/textures/DataTexture) containing * the elevation data. * * @param blob - the data to decode * @param options - the decoding options */ decode(blob: Blob, options?: DecodeOptions): Promise<DecodeResult>; } export default GeoTIFFFormat; //# sourceMappingURL=GeoTIFFFormat.d.ts.map