Skip to main content

Interface: GeoTIFFFromUrlOptions

Defined in: packages/geotiff/src/geotiff.ts:38

Options for GeoTIFF.fromUrl.

Properties​

concurrencyLimiter?​

optional concurrencyLimiter?: ConcurrencyLimiter | null

Defined in: packages/geotiff/src/geotiff.ts:61

Caps concurrent HTTP requests for both the header and tile-data paths: one slot per merged request, none for a cache hit. 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: packages/geotiff/src/geotiff.ts:54

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: packages/geotiff/src/geotiff.ts:67

Optional dynamic priority for every request of this file. 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


reader?​

optional reader?: RangeReader

Defined in: packages/geotiff/src/geotiff.ts:44

The RangeReader this file's reads go through. Share one between files to share its cache and batching window; omitted, a private reader with 8 MiB budgets.


requestInit?​

optional requestInit?: RequestInit

Defined in: packages/geotiff/src/geotiff.ts:49

Headers, credentials and mode sent with every request for this file. Files read with different inits never share a request or a cached byte.


signal?​

optional signal?: AbortSignal

Defined in: packages/geotiff/src/geotiff.ts:51

An optional AbortSignal to cancel the header reads.