[gdal-dev] COG driver create options vs GTiff

Andrew Brooks arb at sat.dundee.ac.uk
Wed Nov 10 07:15:59 PST 2021


Hi

I can see that the COG driver does some pre-processing (eg. overviews and
reprojection) and then passes on the work to the GTiff driver. However I've
been trying to understand the relationship between the create options which
the COG driver accepts and the create options for the GTiff driver.

Some of the options are explicitly copied over, such as:
  BIGTIFF
  NUM_THREADS
  GEOTIFF_VERSION
  SPARSE_OK
some have a slightly different name (why?), such as:
  BLOCKSIZE (instead of BLOCKXSIZE)
  LEVEL (instead of ZLEVE)
some are necessarily additional, such as:
  OVERVIEWS
  TARGET_SRS
some are removed, such as:
  TILED (because it's implicit in COG)
but that leaves a whole bunch of others which are not documented, and I
can't see in the code how they might be handled:
  NBITS
  DISCARD_LSB
  ALPHA
  PIXELTYPE
  PROFILE
  PHOTOMETRIC
  GEOTIFF_KEYS_FLAVOR
  TFW, RPB, RPCTXT

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211110/b245c79c/attachment.html>


More information about the gdal-dev mailing list