mapbox / mapbox/COGDumper

COGDumper downloads the whole header

Open
#8 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
72
Forks
13
PR merge metrics
No merged PRs in 30d

Description

COGDumper downloads the whole header. See this example which is a BIGTIFF with a 400mb header!

```
cogdumper http --server https://s3-ap-southeast-2.amazonaws.com --path linz-test-data --resource auckland_urban_2017_0.075m_cog.tif --xyz 0 0 0
````

Note GDAL when built with internal libtiff only downloads the parts of the header required for data or overview tiles requests

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the `cogdumper http` entry point shown in the issue and trace how it reads the BIGTIFF header for the requested tile. Compare its range requests with the GDAL behavior described in the report. Done means the command fetches only the header portions required for data or overview tiles rather than downloading the entire header.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.