<br><font size=2 face="sans-serif">Naresh,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; You
might take a look at an application, called Mirone, that is an excellent
marriage of Matlab, GDAL (and GMT). You may not need to covert to tiff
and just the ESRI Grid directly for Matlab. </font><a href=http://w3.ualg.pt/~jluis/mirone/><font size=2 face="sans-serif">http://w3.ualg.pt/~jluis/mirone/</font></a>
<br>
<br><font size=2 face="sans-serif">For your issue, make sure you are points
at the correct *.adf file. e.g.</font>
<br><font size=2 face="sans-serif">&gt;gdal_translate hrus1\w001001.adf
out.tif</font>
<br><font size=2 face="sans-serif">which worked for me.</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">Trent</font>
<br>
<br><font size=2 face="sans-serif">And you file looks fine as shown by
gdalinfo</font>
<br><tt><font size=2>&gt;gdalinfo hrus1\w001001.adf</font></tt>
<br><tt><font size=2>Driver: AIG/Arc/Info Binary Grid</font></tt>
<br><tt><font size=2>Files: hrus1</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp;hrus1.aux</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp;hrus1.rrd</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp;hrus1\dblbnd.adf</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp;hrus1\hdr.adf</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp;hrus1\metadata.xml</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp;hrus1\prj.adf</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp;hrus1\sta.adf</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp;hrus1\vat.adf</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp;hrus1\w001001.adf</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp;hrus1\w001001x.adf</font></tt>
<br><tt><font size=2>Size is 3930, 6138</font></tt>
<br><tt><font size=2>Coordinate System is:</font></tt>
<br><tt><font size=2>PROJCS[&quot;UTM Zone 15, Northern Hemisphere&quot;,</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; GEOGCS[&quot;NAD83&quot;,</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; DATUM[&quot;North_American_Datum_1983&quot;,</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SPHEROID[&quot;GRS
1980&quot;,6378137,298.257222101,</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
AUTHORITY[&quot;EPSG&quot;,&quot;7019&quot;]],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TOWGS84[0,0,0,0,0,0,0],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;6269&quot;]],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; PRIMEM[&quot;Greenwich&quot;,0,</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;8901&quot;]],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; UNIT[&quot;degree&quot;,0.0174532925199433,</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;9108&quot;]],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; AXIS[&quot;Lat&quot;,NORTH],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; AXIS[&quot;Long&quot;,EAST],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;4269&quot;]],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; PROJECTION[&quot;Transverse_Mercator&quot;],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; PARAMETER[&quot;latitude_of_origin&quot;,0],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; PARAMETER[&quot;central_meridian&quot;,-93],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; PARAMETER[&quot;scale_factor&quot;,0.9996],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; PARAMETER[&quot;false_easting&quot;,500000],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; PARAMETER[&quot;false_northing&quot;,0],</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; UNIT[&quot;METERS&quot;,1]]</font></tt>
<br><tt><font size=2>Origin = (672440.000000362170000,3909175.831000711300000)</font></tt>
<br><tt><font size=2>Pixel Size = (5.000000000115670,-5.000000000115670)</font></tt>
<br><tt><font size=2>Corner Coordinates:</font></tt>
<br><tt><font size=2>Upper Left &nbsp;( &nbsp;672440.000, 3909175.831)
( 91d 6'11.50&quot;W, 35d18'39.37&quot;N)</font></tt>
<br><tt><font size=2>Lower Left &nbsp;( &nbsp;672440.000, 3878485.831)
( 91d 6'34.59&quot;W, 35d 2'3.66&quot;N)</font></tt>
<br><tt><font size=2>Upper Right ( &nbsp;692090.000, 3909175.831) ( 90d53'13.82&quot;W,
35d18'26.47&quot;N)</font></tt>
<br><tt><font size=2>Lower Right ( &nbsp;692090.000, 3878485.831) ( 90d53'39.54&quot;W,
35d 1'50.90&quot;N)</font></tt>
<br><tt><font size=2>Center &nbsp; &nbsp; &nbsp;( &nbsp;682265.000, 3893830.831)
( 90d59'54.88&quot;W, 35d10'15.28&quot;N)</font></tt>
<br><tt><font size=2>Band 1 Block=256x4 Type=Byte, ColorInterp=Undefined</font></tt>
<br><tt><font size=2>&nbsp; Min=1.000 Max=218.000</font></tt>
<br><tt><font size=2>&nbsp; NoData Value=255</font></tt>
<br><tt><font size=2>&nbsp; Overviews: 983x1535, 492x768, 246x384, 123x192,
62x96</font></tt>
<br><tt><font size=2>&nbsp; Metadata:</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; LAYER_TYPE=athematic</font></tt>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Naresh Pai &lt;npai@uark.edu&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">fwtools@lists.maptools.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">08/10/2009 12:19 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">[FWTools] gdal_translate</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Sent by:</font>
<td><font size=1 face="sans-serif">fwtools-bounces@lists.maptools.org</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Hello,<br>
&nbsp; I am developing a geospatial tool in matlab. While running this
tool, the user will have access to a grid file developed by ArcGIS ( *.adf)
developed from another program. However, since I am developing the tool
in Matlab (which can read geotiff), I need to convert the .adf file to
.tif file.<br>
&nbsp;&nbsp; One of the methods I am considering is to use the gdal_translate
function. I downloaded the FWTools (2.4.2) and to start with, I used the
OpenEV program to open the .aux file attached with the *.adf file. However
when I tried to export using (File -&gt; export), I get an error message
saying that it is unable to create this tif file.<br>
&nbsp;&nbsp; Eventually I would like to fire up the gdal_translate.exe
from within Matlab to convert the grid to tif. I have uploaded the grid
file to the following link.<br>
&nbsp;<br>
&nbsp;</font><a href="https://www.uark.edu/dropbox/fetch.php?filehash=dc9a2f3d2caf37c1cd0f73bfb80e4238" target=_blank><font size=3 color=blue><u>https://www.uark.edu/dropbox/fetch.php?filehash=dc9a2f3d2caf37c1cd0f73bfb80e4238</u></font></a><font size=3><br>
&nbsp;<br>
I would appreciate any suggestions/comments as I troubleshoot this problem.<br>
&nbsp;<br>
Thank you.<br>
Naresh</font>
<br><font size=3><br>
-- <br>
Naresh Pai<br>
PhD Student<br>
Department of Biological and Agricultural Engineering<br>
203 Engineering Hall<br>
University of Arkansas, Fayetteville, AR 72701<br>
<br>
479.789.4942</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:naresh.pai@gmail.com target=_blank><font size=3 color=blue><u>naresh.pai@gmail.com</u></font></a><tt><font size=2>_______________________________________________<br>
FWTools mailing list<br>
FWTools@lists.maptools.org<br>
</font></tt><a href=http://lists.maptools.org/mailman/listinfo/fwtools><tt><font size=2>http://lists.maptools.org/mailman/listinfo/fwtools</font></tt></a><tt><font size=2><br>
</font></tt><a href=http://fwtools.maptools.org/><tt><font size=2>http://fwtools.maptools.org/</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>
<br>