[gdal-dev] Convert ECW to TIFF
Jorge Santos
jorgepsantos2002 at gmail.com
Fri Feb 17 05:55:56 EST 2012
Hi Zoltan,
*GDAL_TRANSLATE: CONVERT ECW to GEOTIFF* (type these commands in FWTools
Shell or OSGeo4W Shell):
*ONE FILE*
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
%f %~nf.tif
You need to inform the EPSG Code for output files.
EPSG 4326 = Geographic Coordinate System WGS 1984.
Source
http://www.gdal.org/gdal_translate.html
Good Luck! Jorge Santos
2012/2/17 Zoltan Szecsei <zoltans at geograph.co.za>
> Hi,
> 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:
> ECWJP2SDKSetup_RO_20110303.exe
> 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.
>
> TIA,
> Zoltan
>
>
> --
>
> ==============================**=============
> 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
> http://lists.osgeo.org/**mailman/listinfo/gdal-dev<http://lists.osgeo.org/mailman/listinfo/gdal-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120217/a72cd438/attachment.html
More information about the gdal-dev
mailing list