Hi folks,

is it just me, or is the BuildOverviews function behaving strange on you to?
I regularly call someDs.BuildOverviews("AVERAGE", [plist]) on my output datasets (in swig python, that is). Until some time ago (can't tell precisely, have been out of business for some time) this worked find. However, currently I get the following errors:

ERROR 1: TIFFSetField:/home/mrp/modis/zandbak/vzaCorrectionTest.tif: Cannot modify tag "Compression" while writing ERROR 1: TIFFSetField:/home/mrp/modis/zandbak/vzaCorrectionTest.tif: Cannot modify tag "ImageWidth" while writing ERROR 1: TIFFSetField:/home/mrp/modis/zandbak/vzaCorrectionTest.tif: Cannot modify tag "PlanarConfiguration" while writing ERROR 1: TIFFSetField:/home/mrp/modis/zandbak/vzaCorrectionTest.tif: Cannot modify tag "BitsPerSample" while writing ERROR 1: TIFFSetField:/home/mrp/modis/zandbak/vzaCorrectionTest.tif: Cannot modify tag "SamplesPerPixel" while writing ERROR 1: TIFFSetField:/home/mrp/modis/zandbak/vzaCorrectionTest.tif: Cannot modify tag "Compression" while writing ERROR 1: TIFFSetField:/home/mrp/modis/zandbak/vzaCorrectionTest.tif: Cannot modify tag "PhotometricInterpretation" while writing ERROR 1: TIFFSetField:/home/mrp/modis/zandbak/vzaCorrectionTest.tif: Cannot modify tag "SampleFormat" while writing ERROR 1: TIFFSetField:/home/mrp/modis/zandbak/vzaCorrectionTest.tif: Cannot modify tag "TileWidth" while writing ERROR 1: TIFFSetField:/home/mrp/modis/zandbak/vzaCorrectionTest.tif: Cannot modify tag "TileLength" while writing
ERROR 1: GTIFFWriteDirectory:Can not write tiles to a stripped image

Which is quite strange, because I am definitely sure that my image is a tiled image. I have double-checked this with gdalinfo.

Calling gdaladdo afterward on the file works OK, though, so I suppose something has changed in the swig/python wrappers...

Btw this is on linux, pretty recent gdal from svn (rev. 15069), bigtiff enabled.

Cheers,
Vincent.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to