필터 지우기
필터 지우기

How to open a .adf file in Matlab?

조회 수: 22 (최근 30일)
Melissa Buechlein
Melissa Buechlein 2017년 7월 18일
편집: Mishaal Aleem 2017년 7월 18일
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