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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
