[gdal-dev] Show isBigTIFF in image metadata

Rahkonen Jukka jukka.rahkonen at maanmittauslaitos.fi
Fri Nov 3 01:51:48 PDT 2023


Hi,

The exact use case is for the GDAL community help desk. I was wondering how this user https://gis.stackexchange.com/questions/469512/cannot-write-geotiff-larger-than-4gb-with-gdalwarp-despite-using-bigtiff-createo could check if their TIFF is created as BigTIFF or not.

-Jukka Rahkonen-

Lähettäjä: Kurt Schwehr <schwehr at gmail.com>
Lähetetty: perjantai 3. marraskuuta 2023 3.08
Vastaanottaja: Even Rouault <even.rouault at spatialys.com>
Kopio: Rahkonen Jukka <jukka.rahkonen at maanmittauslaitos.fi>; 'gdal-dev at lists.osgeo.org' (gdal-dev at lists.osgeo.org) <gdal-dev at lists.osgeo.org>
Aihe: Re: [gdal-dev] Show isBigTIFF in image metadata

Jukka,

What's the exact use case for needing to know if a tiff is traditional or BigTIFF? Is there a key tool that doesn't understand BigTIFF? The only one I know of is Autodesk Civil3D.

Thanks,
-Kurt

On Thu, Nov 2, 2023 at 2:49 PM Even Rouault via gdal-dev <gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>> wrote:
Jukka,

Does it feel reasonable? I know that overviews may be standard TIFFs while the main image is BigTIFF but maybe the information from the header would be enough. Or have I missed some existing tool? I thought that tiffinfo at least would report TIFF/BigTIFF but it doesn’t.

tiffdump does:

$ tiffdump byte.tif
byte.tif:
Magic: 0x4949 <little-endian> Version: 0x2a <ClassicTIFF>

vs

$ tiffdump bigtiff.tif
bigtiff.tif:
Magic: 0x4949 <little-endian> Version: 0x2b <BigTIFF>
Even

--

http://www.spatialys.com<http://www.spatialys.com/>

My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20231103/9ed25c57/attachment.htm>


More information about the gdal-dev mailing list