How to open a .adf file in Matlab?
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Melissa Buechlein
le 18 Juil 2017
Modifié(e) : Mishaal Aleem
le 18 Juil 2017
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 commentaires
Réponse acceptée
Mishaal Aleem
le 18 Juil 2017
Modifié(e) : Mishaal Aleem
le 18 Juil 2017
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Import and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!