[gdal-dev] converting ECW to GTiff for Linux

Even Rouault even.rouault at spatialys.com
Sat Mar 4 11:42:34 PST 2017


On samedi 4 mars 2017 18:55:03 CET Micha Silver wrote:
> Hello:
> (I'm double posting as this problem is somewhere between GDAL and QGIS.)
> 
> I have converted an ECW compressed aerial photo to geotiff with JPEG
> compression on a Windows computer with gdal_translate. The resulting tif
> image displays fine with QGIS on the Windows machine.  GDAL version 2.1.3
> on the Windows computer, and QGIS 2.18.4 My command was similar to:
> gdal_translate -of GTiff -projwin ..... -co TILED=YES -co TFW=YES -co
> COMPRESS=JPEG -co PHOTOMETRIC=YCBCR in.ecw out.tif
> 
> I then copy the tif (and tfw) to my Linux machine, and try to open with
> QGIS, but QGIS crashes immediately. I should note that gdalinfo shows full
> information on both the Windows and Linux systems. On the Linux computer
> GDAL is 2.1.2 and QGIS is 2.18.4 .

On the Linux system where this crashes with QGIS, could you do :

gdalinfo -checksum -stats the.tif

If this crashes, the issue is clearly in GDAL. Otherwise it is likely in QGIS.

> 
> Any ideas what could be the cause of QGIS crashing with the gdal_translate
> converted tif image? Is there something that needs to be done on windows to
> create a Linux usable geotiff??
> 
> Thanks


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170304/53a87dad/attachment-0001.html>


More information about the gdal-dev mailing list