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
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Import and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!