BigTIFF is not supported by this version of GDAL and libtiff.

gdal读取大于4GB的bigtiff影像时

import gdal
gdal.Open("*.tif")

出现错误

ERROR 4: This is a BigTIFF file.  BigTIFF is not supported by this version of GDAL and libtiff.

解决方案:

使用高版本

gdal 2.2.4 +

libtiff 4.0.9 +

但是某些版本还可能出现问题,使用 -c conda-forge安装gdal而不是其它源,更加稳定

猜你喜欢

转载自blog.csdn.net/dou3516/article/details/121681243
今日推荐