reading binary ESRI grid data into matlab

35 views (last 30 days)
Chad
Chad on 19 Jun 2012
Answered: Eric Sargent on 9 Dec 2020
Does anyone have an elegant way to read ESRI grid (raster) files into Matlab? I only need to get the floating point data from the w001001.adf file. I do not have access to a GIS software package to convert these files to ASCII.
thank you, Chad

Answers (2)

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer on 19 Jun 2012
If you have the Mapping Toolbox product, you can use arcgridread: http://www.mathworks.com/help/toolbox/map/ref/arcgridread.html
To see which products are installed on the system you're using, enter "ver" in the MATLAB Command Window.

Eric Sargent
Eric Sargent on 9 Dec 2020
Starting in R2020a, the readgeoraster function can read Esri Binary Grid .adf files.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!