COGDumper icon indicating copy to clipboard operation
COGDumper copied to clipboard

Clarification on the Internal Structure of a COG (Cloud Optimized GeoTIFF) and the _ifds Function

Open sheecegardezi opened this issue 1 year ago • 0 comments

I am trying to better understand how COGTiff class works like whats the internal structure of a Cloud Optimized GeoTIFF (COG). Specifically, I'm looking at the _ifds function and have a few questions about the way it works.

From my understanding, the function recursively reads the Image File Directories (IFDs) in the COG, and I assume that the structure of the COG is closely tied to the "virtual VRT" (Virtual Raster Tile) format. It seems like the function uses this structure to determine the start and end memory locations of tiles based on their x, y, and z coordinates.

Could you provide more insight into how the internal structure is defined in a COG? Are there specific references or documentation that explain how the "virtual VRT" structure is used to handle tiles, especially in terms of how the offsets and byte counts are calculated and stored?

sheecegardezi avatar Dec 29 '24 10:12 sheecegardezi