[gdal-dev] Convert ECW to TIFF
jorgepsantos2002 at gmail.com
Fri Feb 17 05:55:56 EST 2012
*GDAL_TRANSLATE: CONVERT ECW to GEOTIFF* (type these commands in FWTools
Shell or OSGeo4W Shell):
gdal_translate -of ECW -co TARGET=0 -a_srs EPSG:4326 input.tif output.ecw
*A FOLDER WITH MANY FILES*
for %f in (*.ecw) do gdal_translate -of ECW -co TARGET=0 -a_srs EPSG:4326
You need to inform the EPSG Code for output files.
EPSG 4326 = Geographic Coordinate System WGS 1984.
Good Luck! Jorge Santos
2012/2/17 Zoltan Szecsei <zoltans at geograph.co.za>
> I have a bunch of ecw images that I need to convert to tif+worldfile.
> I therefore need to recompile gdal against the ecw libraries, but the only
> file I can download from Intergraph/Erdas website is:
> which is a Windows install of the SDK.
> How do I do this for Linux?
> (Want to batch convert them on ubuntu 10.04)
> On another note, I notice that the xml files received with the ecw images
> only have projection info in them, and not the georeferencing info.
> Is the georeferencing info embedded in the ecw files (like geotiff)? I
> tried looking in the ecw file with a binary editor, but saw nothing obvious.
> Zoltan Szecsei PrGISc [PGP0031]
> Geograph (Pty) Ltd.
> P.O. Box 7, Muizenberg 7950, South Africa.
> 65 Main Road, Muizenberg 7945
> Western Cape, South Africa.
> 34° 6'16.35"S 18°28'5.62"E
> Tel: +27-21-7884897 Mobile: +27-83-6004028
> Fax: +27-86-6115323 www.geograph.co.za
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev