stevenpawley / Pyspatialml

Machine learning modelling for spatial data
GNU General Public License v3.0
145 stars 29 forks source link

RasterioIOError: This is a BigTIFF file. BigTIFF is not supported by this version of GDAL and libtiff. #13

Closed tanghailong0214 closed 4 years ago

tanghailong0214 commented 4 years ago

img_fp = r'.........\file.tif' stack = Raster(img_fp) but I am getting the following error message: RasterioIOError: This is a BigTIFF file. BigTIFF is not supported by this version of GDAL and libtiff. I really don't know any solution. Can you offer some suggestion. Thank you!

stevenpawley commented 4 years ago

This sounds like an issue with your installed version of GDAL, that rasterio is using (and pyspatialml uses rasterio). Check to see if you have an old version of GDAL by running:

import rasterio
rasterio.gdal_version()

Maybe try updating / reinstalling GDAL?