[gdal-dev] Can valid cloud-optimized geotiffs have non-sequential tile ordering?

Scott Henderson scottyh at uw.edu
Tue Jan 7 09:33:52 PST 2025


Thanks for the speedy reply Even! I had not considered alternative tile layouts. I did open an issue here if others want to chime in:
https://github.com/opengeospatial/CloudOptimizedGeoTIFF/issues/37

Scott

> On 7. Jan 2025, at 17:23, Even Rouault <even.rouault at spatialys.com> wrote:
> 
> !-------------------------------------------------------------------|
> This Message Is From an Untrusted Sender
> You have not previously corresponded with this sender.
> See https://itconnect.uw.edu/email-tags for additional information.  Please contact the UW-IT Service Center, help at uw.edu 206.221.5000,
> for assistance.
> |-------------------------------------------------------------------!
> 
> Scott,
> 
>> 
>> Since a key aspect of COGs is efficient network access, shouldn’t this file not be considered a COG?
> 
> The row-major order (that is tiles are sorted from top-to-bottom, left-to-right) used by the GDAL COG driver is one of the many possible ways of having spatial contiguity being omewhat reflected in a file linear organization. But someone could also possibly use other ordering techniques, like Hilbert curves or other space-filling curves (https://urldefense.com/v3/__https://en.wikipedia.org/wiki/Space-filling_curve__;!!K-Hz7m0Vt54!i4fOZAt0f-88naUsZwCsp6e1BdUfWeKREt0dNnZ0vqcPG7bqrDQ1_hFy48k2UpLR2mF9A2VgJw1Ymj-5csiACJY$ ), to also achieve that purpose. Hence COG hasn't standardized on that. You could possibly open an issue related to that at https://urldefense.com/v3/__https://github.com/opengeospatial/CloudOptimizedGeoTIFF/issues__;!!K-Hz7m0Vt54!i4fOZAt0f-88naUsZwCsp6e1BdUfWeKREt0dNnZ0vqcPG7bqrDQ1_hFy48k2UpLR2mF9A2VgJw1Ymj-5bL6VEpU$ 
> Even
> 
> -- 
> https://urldefense.com/v3/__http://www.spatialys.com__;!!K-Hz7m0Vt54!i4fOZAt0f-88naUsZwCsp6e1BdUfWeKREt0dNnZ0vqcPG7bqrDQ1_hFy48k2UpLR2mF9A2VgJw1Ymj-5Cez20D4$ My software is free, but my time generally not.
> Butcher of all kinds of standards, open or closed formats. At the end, this is just about bytes.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250107/6c5f1f06/attachment-0001.htm>


More information about the gdal-dev mailing list