Interface: GeoTIFFFromUrlOptions
Defined in: packages/geotiff/src/geotiff.ts:38
Options for GeoTIFF.fromUrl.
Properties
concurrencyLimiter?
optionalconcurrencyLimiter?: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?
optionaldebug?: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?
optionalgetPriority?: () =>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
reader?
optionalreader?: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?
optionalrequestInit?: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?
optionalsignal?:AbortSignal
Defined in: packages/geotiff/src/geotiff.ts:51
An optional AbortSignal to cancel the header reads.