Would be glad if someone helps me do this. I'm trying to convert a raster .tif file to a .shp file for some analysis. I'm using a 1.5GB data file and have installed GDAL using Conda. But if I run the code it says the following error:

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

What should I do to solve this error? Please explain as I'm totally new to Python environment!

import os
from osgeo import gdal, ogr
import sys
# this allows GDAL to throw Python Exceptions

#  get raster datasource

src_ds = gdal.Open("IND_ppp_2015_v2.tif")
print (src_ds)
  • what is your version of gdal ? By the way, it is unlikely that you will be able to store the result in a shapefile, you should try with another format (e.g. postGIS)
    – radouxju
    Commented Jan 16, 2018 at 6:36
  • I'm using v2.2.2 GDAL. Is there any specific version I should try? Commented Jan 16, 2018 at 7:00
  • 2
    Your version of gdal is fine, what matyers is your libtiff version (below 4.0 doesn't support bigtiff). Please post your libtiff version (you can find it by doing gdal-config --libs). Commented Jan 16, 2018 at 9:40
  • the libtiff version im using is 4.0.9 Commented Jan 16, 2018 at 10:18
  • Odd. Documentation gdal.org/frmt_gtiff.html claims When built with internal libtiff or with libtiff >= 4.0, GDAL also supports reading and writing BigTIFF files (evolution of the TIFF format to support files larger than 4 GB).
    – user30184
    Commented Jan 16, 2018 at 10:26

1 Answer 1


Got it! I updated the library to a newer version and it works now

  • 1
    Could you elaborate? Which library and how? My version of libtiff is also 4.0.9, and latest version i was able to find is 4.0.9... simplesystems.org/libtiff
    – J.A.Cado
    Commented Apr 13, 2018 at 10:05
  • @J.A.Cado I downloaded the package from conda's environment and then tried. Try googling conda gdal install. I think that's how it worked for me Commented May 3, 2018 at 12:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.