How to open a .adf file in Matlab?

28 次查看(过去 30 天)
Hello,
I am trying to open a file developed in ArcGIS and saved as a group of .adf files. How can I open this in Matlab? Is there a special way I should save this in ArcGIS or a way to open .adf files in Matlab? If there isn't, can someone write a function to this? From what I found online there are many folks that would appreciate a function like this.
Thanks, Melissa

采纳的回答

Mishaal Aleem
Mishaal Aleem 2017-7-18
编辑:Mishaal Aleem 2017-7-18
Can you use arcgridread? According to the arcgridread documentation, arcgridread can read gridded data set in ArcGrid ASCII or GridFloat format.
help arcgridread
From the help output:
Format Support
--------------
* ArcGrid ASCII
Also known as Arc ASCII Grid and ESRI ASCII raster format.
Created by the ArcGIS GRIDASCII command.
Data and header are in a single text file.
If a .prj file is present, it will be read also.
Grid values are read into MATLAB as a 2D array of class double.
* GridFloat
Also known as ESRI GridFloat.
Created by the ArcGIS GRIDFLOAT command.
Data and header are in separate (.flt and .hdr) files.
Pass the name of the .flt file (including extension) to arcgridread.
If an optional .prj file is present, it will be read also.
Grid values are read into MATLAB as a 2D array of class single.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 String Parsing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by