Skip to content

Create RasterTileLayer in deck.gl-raster package #404

@kylebarron

Description

@kylebarron

We currently have a RasterLayer in deck.gl-raster which manages drawing a spatially oriented texture, and we have tile utilities (implementing Tileset2D) but then the actual implementation of the TileLayer is in COGLayer and now duplicated into ZarrLayer.

We should add a RasterTileLayer into deck.gl-raster package that abstracts a lot of the getTileData and renderTileData.

It should support a custom RasterTileset2D subclass. (I think like upstream TileLayer we can allow the user of RasterTileLayer to override the Tileset2D implementation?)

Perhaps we could look at the "geo cell layers" in upstream deck.gl, like how the A5Layer is super simple because it only defines indexToBounds.

Ideally this should be generic enough such that Lonboard can use it directly instead of its current extra code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions