Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

convert arcgis grid to geotiff

68 views
Skip to first unread message

Naresh Pai

unread,
Aug 10, 2009, 12:50:02 AM8/10/09
to
Is there a way to convert ArcGIS grid files (.aux) to geotiff to be read by geotiffread function ?

Thanks,
Naresh

us

unread,
Aug 10, 2009, 6:30:23 AM8/10/09
to
"Naresh Pai" <np...@uark.edu> wrote in message <h5o8tq$8mv$1...@fred.mathworks.com>...

> Is there a way to convert ArcGIS grid files (.aux) to geotiff to be read by geotiffread function ?
>
> Thanks,
> Naresh

can you show the anatomy of an arcgis grid file(?)...

us

Naresh Pai

unread,
Aug 10, 2009, 9:35:03 AM8/10/09
to
"us " <u...@neurol.unizh.ch> wrote in message <h5osrv$od9$1...@fred.mathworks.com>...

For a file named XYZ, the grid file as the following files:
XYZ.aux
XYZ.rrd
The .aux (auxilary) files informs ArcGIS about the header, coordinate system (units and projection), etc. The .rrd (reduced resolution dataset) file has all the data. ArcGIS has a feature to convert this to a tif file. However, I would like to do this in Matlab itself.

Thank you.
Naresh

Wolfgang Schwanghart

unread,
Aug 10, 2009, 10:54:02 AM8/10/09
to
Naresh,

as far as I know, there is no such function. I don't have the mapping toolbox and from the documentation I know, that there is no geotiffwrite function. One thing you might want to try, is to automatically write an ASCII world file (tfw.file) ( http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=3046&pid=3034&topicname=World_files_for_raster_datasets ) together with a "normal" tif-file with the same filename. This won't be a real geotiff, but the combination contains a spatial information and you will be able to open it in every GIS environment.

However, when you have data in double format, you will probably have problems writing them from Matlab. Check this here: http://www.mathworks.com/matlabcentral/newsreader/view_thread/240297

HTH, Wolfgang


"Naresh Pai" <np...@uark.edu> wrote in message <h5p7m7$fu2$1...@fred.mathworks.com>...

Jimmy Shen

unread,
Jul 21, 2010, 12:19:06 PM7/21/10
to
Please try:
http://www.rotman-baycrest.on.ca/~jimmy/geotiffwrite

You can write a 2D or 3D array to a single or multi-band GeoTIFF file, with a GUI to input GeoTIFF parameters.

"Naresh Pai" <np...@uark.edu> wrote in message <h5o8tq$8mv$1...@fred.mathworks.com>...

0 new messages