Skip to main content

Class: TileMatrixSetAdaptor

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:160

An adapter interface to use a TileMatrixSet as a RasterTilesetDescriptor for raster tile traversal.

Implements​

Constructors​

Constructor​

new TileMatrixSetAdaptor(tms, __namedParameters): TileMatrixSetAdaptor

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:168

Parameters​

tms​

TileMatrixSetDefinition

__namedParameters​
projectFrom3857​

ProjectionFunction

projectFrom4326​

ProjectionFunction

projectTo3857​

ProjectionFunction

projectTo4326​

ProjectionFunction

Returns​

TileMatrixSetAdaptor

Properties​

projectFrom3857​

projectFrom3857: ProjectionFunction

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:164

Inverse projection function from EPSG:3857 → source CRS.

Provided by the caller alongside projectTo3857.

Implementation of​

RasterTilesetDescriptor.projectFrom3857


projectFrom4326​

projectFrom4326: ProjectionFunction

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:166

Inverse projection function from EPSG:4326 → source CRS.

Provided by the caller alongside projectTo4326.

Implementation of​

RasterTilesetDescriptor.projectFrom4326


projectTo3857​

projectTo3857: ProjectionFunction

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:163

Projection function from the source CRS → EPSG:3857.

Provided by the caller (e.g. COGLayer or ZarrLayer) so that deck.gl-raster itself does not need a proj4 dependency.

Implementation of​

RasterTilesetDescriptor.projectTo3857


projectTo4326​

projectTo4326: ProjectionFunction

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:165

Projection function from the source CRS → EPSG:4326.

Provided by the caller so that deck.gl-raster itself does not need a proj4 dependency.

Implementation of​

RasterTilesetDescriptor.projectTo4326


tms​

tms: TileMatrixSetDefinition

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:161

Accessors​

levels​

Get Signature​

get levels(): RasterTilesetLevel[]

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:190

Ordered levels from coarsest (0) to finest.

Returns​

RasterTilesetLevel[]

Ordered levels from coarsest (0) to finest.

Implementation of​

RasterTilesetDescriptor.levels


projectedBounds​

Get Signature​

get projectedBounds(): Bounds

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:200

Bounding box of the TileMatrixSet in its CRS, as [minX, minY, maxX, maxY].

Uses the TileMatrixSet's boundingBox when present; otherwise it is computed from the extent of the coarsest tile matrix.

Returns​

Bounds

Bounding box of the dataset in the source CRS.

Implementation of​

RasterTilesetDescriptor.projectedBounds