Class: COGSource
Defined in: packages/deck.gl-geotiff/src/cog-source.ts:90
One opened Cloud-Optimized GeoTIFF, ready for a COGLayer to draw.
Create it with COGSource.open, which reads the file's header and resolves its CRS once. Several layers can share one source.
Extends
Properties
geotiff
readonlygeotiff:GeoTIFF
Defined in: packages/deck.gl-geotiff/src/cog-source.ts:92
The opened file.
projection
readonlyprojection:ProjectionDefinition
Defined in: packages/deck.gl-geotiff/src/cog-source.ts:95
The file's CRS, resolved once.
Methods
open()
staticopen(input,options?):Promise<COGSource>
Defined in: packages/deck.gl-geotiff/src/cog-source.ts:114
Open a COG: read its header, resolve its CRS, and build its tile grid.
Rejects with an AbortError when signal aborts before the source is
ready.
Parameters
input
options?
COGSourceOptions = {}
Returns
Promise<COGSource>