Skip to main content

Type Alias: ZarrSourceOptions

ZarrSourceOptions = object

Defined in: packages/deck.gl-zarr/src/zarr-source.ts:35

Options for ZarrSource.open.

Properties​

epsgResolver?​

optional epsgResolver?: EpsgResolver

Defined in: packages/deck.gl-zarr/src/zarr-source.ts:63

A function for resolving numeric EPSG codes to projection information (as returned by wkt-parser).

The default implementation:

  • resolves codes that proj4 ships definitions for without a request
  • makes a request to epsg.io to resolve other EPSG codes
  • caches any previous requests
  • parses PROJJSON response with wkt-parser

geoZarrMetadata?​

optional geoZarrMetadata?: unknown

Defined in: packages/deck.gl-zarr/src/zarr-source.ts:51

GeoZarr metadata to read instead of the data's own attributes: an attributes object in the GeoZarr conventions (spatial:*, proj:* and multiscales). Pass it when the data has none, such as another group's attrs, or a hand-written object for a store without GeoZarr metadata.


path?​

optional path?: string

Defined in: packages/deck.gl-zarr/src/zarr-source.ts:43

Path to the array or multiscales group to draw, separated by /, such as "temperature" or "measurements/reflectance". A relative path starts at the input, and an absolute one, such as "/temperature", at the store's root. If omitted, the input itself is drawn: the store's root, or the group or array passed in.


signal?​

optional signal?: AbortSignal

Defined in: packages/deck.gl-zarr/src/zarr-source.ts:66

Aborts the open: reads in flight are cancelled, and open rejects.