[gdal-dev] translate ecw to geotiff + tfw
Even Rouault
even.rouault at mines-paris.org
Wed Jun 13 11:44:46 PDT 2012
Le mercredi 13 juin 2012 20:17:25, Steve G a écrit :
> I am attempting to use the translate function to convert from ecw to
> geotiff and the creation of an associated tfw file. The geotiff is
> created, but it fails to create the tfw file. I've tried many times, but
> always fails. My syntax is as follows:
>
> gdal_translate -a_srs EPSG:2227 -co tfw=yes -of GTiff
> R:/GIS/GIS_Data/Aerials/65123.ecw R:/GIS/GIS_Data/Aerials/65123.tif
>
> When I do a similar operation with a sid file, the tfw is created. Has
> anyone else experienced this problem with translating an ecw file type?
> Any suggestions?
I suspect that your ecw file has no associated geotransform matrix, which is
needed to write a TFW file. This could be confirmed if you post the output of
gdalinfo on your ecw file.
>
> Thanks in advance.
>
> Steve
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/translate-ecw-to-geotiff-tfw-tp4981248
> .html Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list