Re: [gdal-dev] Issue GDAL with JPEG-compressed TIFFS

2012-02-03 Thread Even Rouault
Selon Peter Hopfgartner : I'm not sure of your exact plans, but if you want to switch to internal libtiff 4 with GDAL 1.8.1, you might get into problems with applications that link both with GDAL and external libtiff 3.9, because of symbol conflicts. If you switch your external libtiff to libtiff

Re: [gdal-dev] Issue GDAL with JPEG-compressed TIFFS

2012-02-03 Thread Peter Hopfgartner
Hi Evan Indeed, the external libtiff is used and is version libtiff-3.9.4-1.el6_0.3.x86_64. In the mean time I did a quick compile of gdal-1.9.0 with internal libtiff and the square disappeared. Probably it would be a wise decision to switch to libtiff4 quickly, as far as ELGIS is concerned.

Re: [gdal-dev] Issue GDAL with JPEG-compressed TIFFS

2012-02-03 Thread Even Rouault
Peter, Does ELGIS GDAL uses internal libtiff (4.0beta) or external libtiff (3.8 or 3.9) ? I guess it is external libtiff, and then it could explain the issues you have with overviews and JPEG compression. There have been fixes in libtiff 4 to better support that situation (multiple IFDs with compr

[gdal-dev] Issue GDAL with JPEG-compressed TIFFS

2012-02-03 Thread Peter Hopfgartner
I'm doing quite some experiments with GDAL and image compression these days I do have an issue with geotiff 1.3/gdal 1.8.1 on CentOS 6 with packages from ELGIS. The story goes like this: I create tiffs with gdal_translate -of GTiff -co COMPRESS=JPEG -co JPEG_QUALITY=90 -co "TILED=YES" -co "B