<br><font size=2 face="sans-serif">Naresh,</font>
<br><font size=2 face="sans-serif"> 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">>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>>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> hrus1.aux</font></tt>
<br><tt><font size=2> hrus1.rrd</font></tt>
<br><tt><font size=2> hrus1\dblbnd.adf</font></tt>
<br><tt><font size=2> hrus1\hdr.adf</font></tt>
<br><tt><font size=2> hrus1\metadata.xml</font></tt>
<br><tt><font size=2> hrus1\prj.adf</font></tt>
<br><tt><font size=2> hrus1\sta.adf</font></tt>
<br><tt><font size=2> hrus1\vat.adf</font></tt>
<br><tt><font size=2> hrus1\w001001.adf</font></tt>
<br><tt><font size=2> 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["UTM Zone 15, Northern Hemisphere",</font></tt>
<br><tt><font size=2> GEOGCS["NAD83",</font></tt>
<br><tt><font size=2> DATUM["North_American_Datum_1983",</font></tt>
<br><tt><font size=2> SPHEROID["GRS
1980",6378137,298.257222101,</font></tt>
<br><tt><font size=2>
AUTHORITY["EPSG","7019"]],</font></tt>
<br><tt><font size=2> TOWGS84[0,0,0,0,0,0,0],</font></tt>
<br><tt><font size=2> AUTHORITY["EPSG","6269"]],</font></tt>
<br><tt><font size=2> PRIMEM["Greenwich",0,</font></tt>
<br><tt><font size=2> AUTHORITY["EPSG","8901"]],</font></tt>
<br><tt><font size=2> UNIT["degree",0.0174532925199433,</font></tt>
<br><tt><font size=2> AUTHORITY["EPSG","9108"]],</font></tt>
<br><tt><font size=2> AXIS["Lat",NORTH],</font></tt>
<br><tt><font size=2> AXIS["Long",EAST],</font></tt>
<br><tt><font size=2> AUTHORITY["EPSG","4269"]],</font></tt>
<br><tt><font size=2> PROJECTION["Transverse_Mercator"],</font></tt>
<br><tt><font size=2> PARAMETER["latitude_of_origin",0],</font></tt>
<br><tt><font size=2> PARAMETER["central_meridian",-93],</font></tt>
<br><tt><font size=2> PARAMETER["scale_factor",0.9996],</font></tt>
<br><tt><font size=2> PARAMETER["false_easting",500000],</font></tt>
<br><tt><font size=2> PARAMETER["false_northing",0],</font></tt>
<br><tt><font size=2> UNIT["METERS",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 ( 672440.000, 3909175.831)
( 91d 6'11.50"W, 35d18'39.37"N)</font></tt>
<br><tt><font size=2>Lower Left ( 672440.000, 3878485.831)
( 91d 6'34.59"W, 35d 2'3.66"N)</font></tt>
<br><tt><font size=2>Upper Right ( 692090.000, 3909175.831) ( 90d53'13.82"W,
35d18'26.47"N)</font></tt>
<br><tt><font size=2>Lower Right ( 692090.000, 3878485.831) ( 90d53'39.54"W,
35d 1'50.90"N)</font></tt>
<br><tt><font size=2>Center ( 682265.000, 3893830.831)
( 90d59'54.88"W, 35d10'15.28"N)</font></tt>
<br><tt><font size=2>Band 1 Block=256x4 Type=Byte, ColorInterp=Undefined</font></tt>
<br><tt><font size=2> Min=1.000 Max=218.000</font></tt>
<br><tt><font size=2> NoData Value=255</font></tt>
<br><tt><font size=2> Overviews: 983x1535, 492x768, 246x384, 123x192,
62x96</font></tt>
<br><tt><font size=2> Metadata:</font></tt>
<br><tt><font size=2> 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 <npai@uark.edu></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>
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>
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 -> export), I get an error message
saying that it is unable to create this tif file.<br>
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>
<br>
</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>
<br>
I would appreciate any suggestions/comments as I troubleshoot this problem.<br>
<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>