Skip to main content

Interface: GeoTIFFFromUrlOptions

Defined in: geotiff.ts:25

Options for GeoTIFF.fromUrl.

Properties​

cacheSize?​

optional cacheSize?: number

Defined in: geotiff.ts:31

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


chunkSize?​

optional chunkSize?: number

Defined in: geotiff.ts:28

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:44

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:36

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:50

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:33

An optional AbortSignal to cancel the header reads.