Hi Zoltan,<br><br><b>GDAL_TRANSLATE: CONVERT ECW to GEOTIFF</b> (type these commands in FWTools Shell or OSGeo4W Shell):<br><br><b>ONE FILE</b><br><br>gdal_translate -of ECW -co TARGET=0 -a_srs EPSG:4326 input.tif output.ecw<br>
<br><b>A FOLDER WITH MANY FILES</b><br><br>for %f in (*.ecw) do gdal_translate -of ECW -co TARGET=0 -a_srs EPSG:4326 %f %~nf.tif<br><br>You need to inform the EPSG Code for output files.<br><br>EPSG 4326 = Geographic Coordinate System WGS 1984.<br>
<br>Source<br><br><a href="http://www.gdal.org/gdal_translate.html">http://www.gdal.org/gdal_translate.html</a><br><br>Good Luck! Jorge Santos <br><br><br><div class="gmail_quote">2012/2/17 Zoltan Szecsei <span dir="ltr">&lt;<a href="mailto:zoltans@geograph.co.za">zoltans@geograph.co.za</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I have a bunch of ecw images that I need to convert to tif+worldfile.<br>
<br>
I therefore need to recompile gdal against the ecw libraries, but the only file I can download from Intergraph/Erdas website is:<br>
ECWJP2SDKSetup_RO_20110303.exe<br>
which is a Windows install of the SDK.<br>
<br>
How do I do this for Linux?<br>
(Want to batch convert them on ubuntu 10.04)<br>
<br>
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.<br>
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.<br>
<br>
TIA,<br>
Zoltan<br>
<br>
<br>
-- <br>
<br>
==============================<u></u>=============<br>
Zoltan Szecsei PrGISc [PGP0031]<br>
Geograph (Pty) Ltd.<br>
P.O. Box 7, Muizenberg 7950, South Africa.<br>
<br>
65 Main Road, Muizenberg 7945<br>
Western Cape, South Africa.<br>
<br>
34° 6&#39;16.35&quot;S 18°28&#39;5.62&quot;E<br>
<br>
Tel: <a href="tel:%2B27-21-7884897" value="+27217884897" target="_blank">+27-21-7884897</a>  Mobile: <a href="tel:%2B27-83-6004028" value="+27836004028" target="_blank">+27-83-6004028</a><br>
Fax: <a href="tel:%2B27-86-6115323" value="+27866115323" target="_blank">+27-86-6115323</a>     <a href="http://www.geograph.co.za" target="_blank">www.geograph.co.za</a><br>
==============================<u></u>=============<br>
<br>
______________________________<u></u>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br>