Skip to main content

Interface: GeoTIFFFromUrlOptions

Defined in: geotiff.ts:23

Options for GeoTIFF.fromUrl.

Properties

cacheSize?

optional cacheSize?: number

Defined in: geotiff.ts:29

Total cache size in bytes. Defaults to 8 MiB (~128 blocks at the default chunk size).


chunkSize?

optional chunkSize?: number

Defined in: geotiff.ts:26

Bytes per chunk for the header cache. Defaults to 64 KiB (matches geotiff.js's BlockedSource).


concurrencyLimiter?

optional concurrencyLimiter?: ConcurrencyLimiter | null

Defined in: geotiff.ts:42

Caps concurrent HTTP requests for both the header/metadata and tile-data paths. Header reads go through the cached SourceView, so cache hits short-circuit before the limiter and never consume a slot — only network reads gate. Pass null to explicitly disable; omit (or pass undefined) for the same effect — GeoTIFF.fromUrl does not default to a shared limiter on its own. The deck.gl-geotiff layers default to a shared PerOriginSemaphore via their defaultProps.


debug?

optional debug?: boolean

Defined in: geotiff.ts:34

When true, the returned GeoTIFF logs each tile/mask data fetch to the console with offset/length and a data/mask label. Off by default.


getPriority?

optional getPriority?: () => Priority

Defined in: geotiff.ts:48

Optional dynamic priority for every fetch through this GeoTIFF's sources. Re-invoked by the limiter on each slot-open, so closures over dynamic state (e.g. layer viewport center, tile bbox) re-sort the queue when that state changes. Lower = serviced sooner. Only meaningful when concurrencyLimiter is set.

Returns

Priority


signal?

optional signal?: AbortSignal

Defined in: geotiff.ts:31

An optional AbortSignal to cancel the header reads.