Skip to content

Support for reading TILE-interleaved COG #247

@kylebarron

Description

@kylebarron

The GDAL COG driver supports three interleaving strategies: Band, pixel and tile.

  • Pixel: Stores a contiguous chunk for all data of the tile, ordered as height, width, bands
  • Band: stores every band separately in the COG. This means that in order to fetch all bands, you need to make one fetch per band.
  • Tile: Stores a contiguous chunk for all data of the tile, but ordered bands, height, width

We currently support Pixel and Band interleaving, but should also support Tile interleaving.

Todo:

  • Create a new file in geotiff-test-data with tile interleaving
  • Create a new test case here for reading that file.
  • Update data fetching code to support reading an entire chunk for tile interleaved.
  • Update docs for downstream code to interpret the data in correct band order

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