s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
28 lines • 892 B
TypeScript
import type { Reader } from '..';
import type { GeoKeyDirectory, TagNames } from './constants';
/**
* Container to store the parsed file directory, geo key directory and
* offset to the next IFD
*/
export interface ImageFileDirectory extends TagNames {
geoKeyDirectory?: GeoKeyDirectory;
pixelScale?: [x: number, y: number, z: number];
tiepoint?: number[];
}
/**
* GeoTIFF Header Reader
*/
export declare class GeoTIFFHeaderReader {
#private;
reader: Reader;
imageDirectories: ImageFileDirectory[];
/** @param reader - the geotiff reader to parse data from */
constructor(reader: Reader);
/** @returns - the number of images in the GeoTIFF */
get length(): number;
/** @returns - the littleEndian flag */
get littleEndian(): boolean;
/** @returns - the bigTIFF flag */
get bigTiff(): boolean;
}
//# sourceMappingURL=header.d.ts.map