forked from OSGeo/gdal
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add LIBERTIFF driver: native thread-safe read-only GeoTIFF reader
This driver is based on the libertiff library for IFD and tag parsing. It uses in a very controlled (and isolated) way internal libtiff LZW, PackBits and LERC codecs (even if using external libtiff for the GTiff driver). For Deflate/GZip, LZMA, ZSTD, it defers to GDAL cpl_compressor.h API. For JPEG, WEBP, JPEGXL, it uses the corresponding GDAL drivers to open strip/tile blobs as temporary datasets. Note that at current time the driver isn't necessarily optimized to minimize the number of network requests for COG layout. The driver supports most TIFF formulations, but not necessarily the most exotic ones that the GTiff libtiff based might support. In particular it does not support non-power-of-two BitsPerSample value (could be added with extra coding). On the plus side, JPEGXL is supported as soon as the JPEGXL driver is available at runtime (contrary to the GTiff driver which requires using internal libtiff since the tif_jxl.c codec hasn't been upstreamed to libtiff yet). As noted in the documentation, no side-car file at all are currently used by this driver.
- Loading branch information
Showing
30 changed files
with
4,412 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.09 KB
autotest/gcore/data/gtiff/rgbsmall_int16_bigendian_lzw_predictor_2.tif
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.